home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Utilities / Text / OzTeX 1.9 / Metafont / mfinputs / modes.mf / modes.txt
LaTeX Document  |  1994-11-12  |  58.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/1616 BibTeX Database File default (weak)
100% gt2 Textdatei (UNIX) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 43 6f 6d 70 69 6c | 65 64 20 31 39 39 31 2c |% Compil|ed 1991,|
|00000010| 20 39 32 2c 20 39 33 2c | 20 39 34 20 62 79 20 4b | 92, 93,| 94 by K|
|00000020| 61 72 6c 20 42 65 72 72 | 79 2e 20 20 54 68 69 73 |arl Berr|y. This|
|00000030| 20 66 69 6c 65 20 69 73 | 20 6e 6f 74 20 63 6f 70 | file is| not cop|
|00000040| 79 72 69 67 68 74 65 64 | 0a 25 20 61 6e 64 20 6d |yrighted|.% and m|
|00000050| 61 79 20 62 65 20 75 73 | 65 64 20 66 72 65 65 6c |ay be us|ed freel|
|00000060| 79 2e 20 20 59 6f 75 20 | 63 61 6e 20 72 65 74 72 |y. You |can retr|
|00000070| 69 65 76 65 20 74 68 65 | 20 6c 61 74 65 73 74 20 |ieve the| latest |
|00000080| 76 65 72 73 69 6f 6e 20 | 62 79 20 66 74 70 20 61 |version |by ftp a|
|00000090| 73 0a 25 20 7b 5c 74 74 | 20 66 74 70 2e 63 73 2e |s.% {\tt| ftp.cs.|
|000000a0| 75 6d 62 2e 65 64 75 3a | 70 75 62 2f 74 65 78 2f |umb.edu:|pub/tex/|
|000000b0| 6d 6f 64 65 73 2e 6d 66 | 7d 2e 20 0a 25 20 59 6f |modes.mf|}. .% Yo|
|000000c0| 75 20 63 61 6e 20 72 75 | 6e 20 74 68 69 73 20 66 |u can ru|n this f|
|000000d0| 69 6c 65 20 74 68 72 6f | 75 67 68 20 7b 5c 74 74 |ile thro|ugh {\tt|
|000000e0| 20 6d 66 74 7d 20 74 6f | 20 67 65 6e 65 72 61 74 | mft} to| generat|
|000000f0| 65 20 61 20 5c 54 65 58 | 5c 0a 25 20 66 69 6c 65 |e a \TeX|\.% file|
|00000100| 2c 20 69 66 20 79 6f 75 | 20 6c 69 6b 65 20 72 65 |, if you| like re|
|00000110| 61 64 69 6e 67 20 74 79 | 70 65 73 65 74 20 6f 75 |ading ty|peset ou|
|00000120| 74 70 75 74 20 69 6e 73 | 74 65 61 64 20 6f 66 20 |tput ins|tead of |
|00000130| 63 6f 6d 70 75 74 65 72 | 20 73 63 72 65 65 6e 73 |computer| screens|
|00000140| 2e 0a 25 20 46 65 65 6c | 20 66 72 65 65 20 74 6f |..% Feel| free to|
|00000150| 20 63 68 61 6e 67 65 20 | 74 68 65 20 64 65 66 69 | change |the defi|
|00000160| 6e 69 74 69 6f 6e 73 20 | 6f 66 20 7c 6c 6f 63 61 |nitions |of |loca|
|00000170| 6c 66 6f 6e 74 7c 2c 20 | 7c 73 63 72 65 65 6e 5f |lfont|, ||screen_|
|00000180| 63 6f 6c 73 7c 2c 20 61 | 6e 64 0a 25 20 7c 73 63 |cols|, a|nd.% |sc|
|00000190| 72 65 65 6e 5f 72 6f 77 | 73 7c 20 61 74 20 74 68 |reen_row|s| at th|
|000001a0| 65 20 65 6e 64 20 6f 66 | 20 66 69 6c 65 20 28 73 |e end of| file (s|
|000001b0| 65 65 20 65 78 70 6c 61 | 6e 61 74 69 6f 6e 73 20 |ee expla|nations |
|000001c0| 62 65 6c 6f 77 29 2e 0a | 25 20 49 66 20 79 6f 75 |below)..|% If you|
|000001d0| 20 6d 61 6b 65 20 61 20 | 6e 65 77 20 7c 6d 6f 64 | make a |new |mod|
|000001e0| 65 5f 64 65 66 7c 2c 20 | 70 6c 65 61 73 65 20 73 |e_def|, |please s|
|000001f0| 65 6e 64 20 69 74 20 74 | 6f 20 7b 5c 74 74 20 6b |end it t|o {\tt k|
|00000200| 61 72 6c 40 63 73 2e 75 | 6d 62 2e 65 64 75 7d 2e |arl@cs.u|mb.edu}.|
|00000210| 0a 25 20 50 6c 65 61 73 | 65 20 6d 65 6e 74 69 6f |.% Pleas|e mentio|
|00000220| 6e 20 77 68 61 74 20 66 | 6f 6e 74 73 20 61 74 20 |n what f|onts at |
|00000230| 77 68 61 74 20 73 69 7a | 65 73 20 79 6f 75 20 74 |what siz|es you t|
|00000240| 65 73 74 65 64 20 69 74 | 20 6f 6e 2e 20 20 54 68 |ested it| on. Th|
|00000250| 69 73 20 77 69 6c 6c 0a | 25 20 68 65 6c 70 20 6f |is will.|% help o|
|00000260| 74 68 65 72 20 70 65 6f | 70 6c 65 20 77 6f 6e 64 |ther peo|ple wond|
|00000270| 65 72 69 6e 67 20 77 68 | 65 72 65 20 70 61 72 74 |ering wh|ere part|
|00000280| 69 63 75 6c 61 72 20 76 | 61 6c 75 65 73 20 63 61 |icular v|alues ca|
|00000290| 6d 65 20 66 72 6f 6d 2e | 0a 25 20 49 64 65 61 6c |me from.|.% Ideal|
|000002a0| 6c 79 2c 20 79 6f 75 20 | 77 6f 75 6c 64 20 74 72 |ly, you |would tr|
|000002b0| 79 20 6e 6f 72 6d 61 6c | 2c 20 62 6f 6c 64 2c 20 |y normal|, bold, |
|000002c0| 61 6e 64 20 69 74 61 6c | 69 63 20 76 61 72 69 61 |and ital|ic varia|
|000002d0| 6e 74 73 2c 20 61 74 20 | 73 69 7a 65 73 0a 25 20 |nts, at |sizes.% |
|000002e0| 61 72 6f 75 6e 64 20 35 | 24 5c 2c 24 70 74 2c 20 |around 5|$\,$pt, |
|000002f0| 31 30 24 5c 2c 24 70 74 | 20 61 6e 64 20 31 35 24 |10$\,$pt| and 15$|
|00000300| 5c 2c 24 70 74 2e 0a 25 | 25 25 20 64 65 66 20 6d |\,$pt..%|%% def m|
|00000310| 6f 64 65 5f 64 65 66 0a | 25 25 25 20 61 64 64 74 |ode_def.|%%% addt|
|00000320| 6f 20 66 6f 6e 74 5f 73 | 69 7a 65 20 63 6f 64 69 |o font_s|ize codi|
|00000330| 6e 67 5f 73 63 68 65 6d | 65 20 66 6f 6e 74 5f 66 |ng_schem|e font_f|
|00000340| 61 63 65 5f 62 79 74 65 | 20 6c 61 6e 64 73 63 61 |ace_byte| landsca|
|00000350| 70 65 20 6c 61 6e 64 73 | 63 61 70 65 5f 0a 25 20 |pe lands|cape_.% |
|00000360| 40 6d 66 66 69 6c 65 7b | 0a 25 20 20 20 61 75 74 |@mffile{|.% aut|
|00000370| 68 6f 72 20 3d 20 22 54 | 68 65 20 4d 65 74 61 66 |hor = "T|he Metaf|
|00000380| 6f 6e 74 20 63 6f 6d 6d | 75 6e 69 74 79 22 2c 0a |ont comm|unity",.|
|00000390| 25 20 20 20 76 65 72 73 | 69 6f 6e 20 3d 20 22 32 |% vers|ion = "2|
|000003a0| 2e 30 22 2c 0a 25 20 20 | 20 64 61 74 65 20 3d 20 |.0",.% | date = |
|000003b0| 22 57 65 64 20 4a 75 6c | 20 32 30 20 30 37 3a 31 |"Wed Jul| 20 07:1|
|000003c0| 35 3a 31 34 20 45 44 54 | 20 31 39 39 34 22 0a 25 |5:14 EDT| 1994".%|
|000003d0| 20 20 20 66 69 6c 65 6e | 61 6d 65 20 3d 20 22 6d | filen|ame = "m|
|000003e0| 6f 64 65 73 2e 6d 66 22 | 2c 0a 25 20 20 20 63 6f |odes.mf"|,.% co|
|000003f0| 6e 74 61 63 74 20 3d 20 | 22 4b 61 72 6c 20 42 65 |ntact = |"Karl Be|
|00000400| 72 72 79 22 2c 0a 25 20 | 20 20 65 6d 61 69 6c 20 |rry",.% | email |
|00000410| 3d 20 22 6b 61 72 6c 40 | 63 73 2e 75 6d 62 2e 65 |= "karl@|cs.umb.e|
|00000420| 64 75 22 0a 25 20 20 20 | 61 64 64 72 65 73 73 20 |du".% |address |
|00000430| 3d 20 22 31 33 35 20 43 | 65 6e 74 65 72 20 48 69 |= "135 C|enter Hi|
|00000440| 6c 6c 20 52 64 2e 20 2f | 2f 20 50 6c 79 6d 6f 75 |ll Rd. /|/ Plymou|
|00000450| 74 68 2c 20 4d 41 20 30 | 32 33 36 30 22 0a 25 20 |th, MA 0|2360".% |
|00000460| 20 20 63 68 65 63 6b 73 | 75 6d 20 3d 20 22 31 36 | checks|um = "16|
|00000470| 35 33 20 20 20 20 38 31 | 34 37 20 20 20 35 39 39 |53 81|47 599|
|00000480| 31 38 22 2c 0a 25 20 20 | 20 63 6f 64 65 74 61 62 |18",.% | codetab|
|00000490| 6c 65 20 3d 20 22 49 53 | 4f 2f 41 53 43 49 49 22 |le = "IS|O/ASCII"|
|000004a0| 2c 0a 25 20 20 20 73 75 | 70 70 6f 72 74 65 64 20 |,.% su|pported |
|000004b0| 3d 20 22 79 65 73 22 2c | 0a 25 20 20 20 64 6f 63 |= "yes",|.% doc|
|000004c0| 73 74 72 69 6e 67 20 3d | 20 22 0a 25 20 54 68 69 |string =| ".% Thi|
|000004d0| 73 20 66 69 6c 65 20 69 | 73 20 61 20 63 6f 6c 6c |s file i|s a coll|
|000004e0| 65 63 74 69 6f 6e 20 6f | 66 20 28 70 75 74 61 74 |ection o|f (putat|
|000004f0| 69 76 65 6c 79 29 20 61 | 6c 6c 20 65 78 74 61 6e |ively) a|ll extan|
|00000500| 74 20 5c 4d 46 5c 20 6d | 6f 64 65 73 2e 0a 25 20 |t \MF\ m|odes..% |
|00000510| 55 6e 66 6f 72 74 75 6e | 61 74 65 6c 79 2c 20 74 |Unfortun|ately, t|
|00000520| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6d 6f 64 |he numbe|r of mod|
|00000530| 65 73 20 65 61 74 73 20 | 75 70 20 61 20 6c 6f 74 |es eats |up a lot|
|00000540| 20 6f 66 20 6d 65 6d 6f | 72 79 3b 20 69 66 20 79 | of memo|ry; if y|
|00000550| 6f 75 72 0a 25 20 5c 4d | 46 5c 20 68 61 73 20 6e |our.% \M|F\ has n|
|00000560| 6f 74 20 69 6e 63 72 65 | 61 73 65 64 20 74 68 65 |ot incre|ased the|
|00000570| 20 74 61 62 6c 65 20 73 | 69 7a 65 73 2c 20 79 6f | table s|izes, yo|
|00000580| 75 20 6d 61 79 20 6e 65 | 65 64 20 74 6f 20 72 65 |u may ne|ed to re|
|00000590| 6d 6f 76 65 20 73 6f 6d | 65 20 6f 66 0a 25 20 74 |move som|e of.% t|
|000005a0| 68 65 20 6d 6f 64 65 73 | 20 66 72 6f 6d 20 74 68 |he modes| from th|
|000005b0| 69 73 20 66 69 6c 65 20 | 28 70 6c 65 61 73 65 20 |is file |(please |
|000005c0| 6e 61 6d 65 20 69 74 20 | 73 6f 6d 65 74 68 69 6e |name it |somethin|
|000005d0| 67 20 65 6c 73 65 20 74 | 68 65 6e 2c 20 65 2e 67 |g else t|hen, e.g|
|000005e0| 2e 2c 0a 25 20 7b 5c 74 | 74 20 6c 6f 63 61 6c 2e |.,.% {\t|t local.|
|000005f0| 6d 66 7d 29 2e 20 49 66 | 20 79 6f 75 20 63 61 6e |mf}). If| you can|
|00000600| 20 73 75 67 67 65 73 74 | 20 61 20 77 61 79 20 74 | suggest| a way t|
|00000610| 6f 20 72 65 64 65 66 69 | 6e 65 20 7c 6d 6f 64 65 |o redefi|ne |mode|
|00000620| 5f 64 65 66 7c 0a 25 20 | 61 6e 64 2f 6f 72 20 7c |_def|.% |and/or ||
|00000630| 6d 6f 64 65 5f 73 65 74 | 75 70 7c 2c 20 65 76 65 |mode_set|up|, eve|
|00000640| 6e 20 62 65 74 74 65 72 | 3b 20 72 69 67 68 74 20 |n better|; right |
|00000650| 6e 6f 77 2c 20 74 68 65 | 20 61 6d 6f 75 6e 74 20 |now, the| amount |
|00000660| 6f 66 20 6d 65 6d 6f 72 | 79 20 75 73 65 64 0a 25 |of memor|y used.%|
|00000670| 20 69 73 20 61 70 70 72 | 6f 78 69 6d 61 74 65 6c | is appr|oximatel|
|00000680| 79 20 66 6f 75 72 20 74 | 69 6d 65 73 20 74 68 65 |y four t|imes the|
|00000690| 20 6c 65 6e 67 74 68 20 | 6f 66 20 7c 6d 6f 64 65 | length |of |mode|
|000006a0| 5f 64 65 66 7c 20 6e 61 | 6d 65 73 2e 0a 25 20 54 |_def| na|mes..% T|
|000006b0| 68 65 20 70 72 69 6d 61 | 72 79 20 6e 61 6d 65 73 |he prima|ry names|
|000006c0| 20 61 72 65 20 61 6c 6c | 20 6c 65 73 73 20 74 68 | are all| less th|
|000006d0| 61 6e 20 65 69 67 68 74 | 20 63 68 61 72 61 63 74 |an eight| charact|
|000006e0| 65 72 73 2c 20 61 6e 64 | 20 73 74 72 69 63 74 6c |ers, and| strictl|
|000006f0| 79 0a 25 20 6c 6f 77 65 | 72 63 61 73 65 2e 20 54 |y.% lowe|rcase. T|
|00000700| 68 69 73 20 6d 61 6b 65 | 73 20 69 74 20 66 65 61 |his make|s it fea|
|00000710| 73 69 62 6c 65 20 74 6f | 20 75 73 65 20 74 68 65 |sible to| use the|
|00000720| 6d 20 66 6f 72 20 70 6f | 72 74 61 62 6c 65 20 64 |m for po|rtable d|
|00000730| 69 72 65 63 74 6f 72 79 | 0a 25 20 6e 61 6d 65 73 |irectory|.% names|
|00000740| 2e 20 54 68 65 20 73 79 | 6e 6f 6e 79 6d 73 20 61 |. The sy|nonyms a|
|00000750| 72 65 20 68 69 73 74 6f | 72 69 63 61 6c 20 65 71 |re histo|rical eq|
|00000760| 75 69 76 61 6c 65 6e 74 | 73 2e 0a 25 20 49 74 20 |uivalent|s..% It |
|00000770| 61 6c 73 6f 20 6d 61 6b | 65 73 20 64 65 66 69 6e |also mak|es defin|
|00000780| 69 74 69 6f 6e 73 20 74 | 6f 20 70 75 74 20 73 70 |itions t|o put sp|
|00000790| 65 63 69 61 6c 73 20 69 | 64 65 6e 74 69 66 79 69 |ecials i|dentifyi|
|000007a0| 6e 67 20 74 68 65 20 6d | 6f 64 65 20 69 6e 20 74 |ng the m|ode in t|
|000007b0| 68 65 0a 25 20 5c 4d 46 | 5c 20 47 46 20 6f 75 74 |he.% \MF|\ GF out|
|000007c0| 70 75 74 2c 20 61 6e 64 | 20 74 6f 20 70 75 74 20 |put, and| to put |
|000007d0| 74 68 65 20 63 6f 64 69 | 6e 67 20 73 63 68 65 6d |the codi|ng schem|
|000007e0| 65 20 61 6e 64 20 6f 74 | 68 65 72 20 73 6f 2d 63 |e and ot|her so-c|
|000007f0| 61 6c 6c 65 64 0a 25 20 | 58 65 72 6f 78 2d 77 6f |alled.% |Xerox-wo|
|00000800| 72 6c 64 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |rld info|rmation |
|00000810| 69 6e 20 74 68 65 20 54 | 46 4d 20 6f 75 74 70 75 |in the T|FM outpu|
|00000820| 74 2e 0a 25 20 49 74 20 | 61 6c 73 6f 20 64 65 66 |t..% It |also def|
|00000830| 69 6e 65 73 20 61 20 6d | 61 63 72 6f 20 7c 6c 61 |ines a m|acro |la|
|00000840| 6e 64 73 63 61 70 65 7c | 20 74 68 61 74 20 69 6e |ndscape|| that in|
|00000850| 76 65 72 74 73 20 7c 61 | 73 70 65 63 74 5f 72 61 |verts |a|spect_ra|
|00000860| 74 69 6f 7c 20 61 6e 64 | 0a 25 20 63 68 61 6e 67 |tio| and|.% chang|
|00000870| 65 73 20 7c 70 69 78 65 | 6c 73 5f 70 65 72 5f 69 |es |pixe|ls_per_i|
|00000880| 6e 63 68 7c 2c 20 73 6f | 20 79 6f 75 20 63 61 6e |nch|, so| you can|
|00000890| 20 73 61 79 20 7b 5c 74 | 74 20 6d 6f 64 65 20 3a | say {\t|t mode :|
|000008a0| 3d 20 77 68 61 74 65 76 | 65 72 3b 0a 25 20 6c 61 |= whatev|er;.% la|
|000008b0| 6e 64 73 63 61 70 65 3b | 20 2e 2e 2e 7d 20 74 6f |ndscape;| ...} to|
|000008c0| 20 67 65 74 20 6c 61 6e | 64 73 63 61 70 65 20 66 | get lan|dscape f|
|000008d0| 6f 6e 74 73 2e 0a 25 20 | 46 69 6e 61 6c 6c 79 2c |onts..% |Finally,|
|000008e0| 20 69 74 20 68 61 73 20 | 73 6f 6d 65 20 63 6f 64 | it has |some cod|
|000008f0| 65 20 74 6f 20 68 61 6e | 64 6c 65 20 77 72 69 74 |e to han|dle writ|
|00000900| 65 2d 77 68 69 74 65 20 | 64 65 76 69 63 65 73 20 |e-white |devices |
|00000910| 62 65 74 74 65 72 3b 20 | 74 68 69 73 0a 25 20 63 |better; |this.% c|
|00000920| 6f 64 65 20 63 6f 6d 65 | 73 20 69 6e 74 6f 20 70 |ode come|s into p|
|00000930| 6c 61 79 20 69 66 20 61 | 20 7c 6d 6f 64 65 5f 64 |lay if a| |mode_d|
|00000940| 65 66 7c 20 69 6e 63 6c | 75 64 65 73 20 74 68 65 |ef| incl|udes the|
|00000950| 20 73 74 61 74 65 6d 65 | 6e 74 0a 25 20 7c 6d 6f | stateme|nt.% |mo|
|00000960| 64 65 5f 77 72 69 74 65 | 5f 77 68 69 74 65 5f 73 |de_write|_white_s|
|00000970| 65 74 75 70 5f 3b 7c 2e | 20 20 54 68 69 73 20 6f |etup_;|.| This o|
|00000980| 6e 6c 79 20 77 6f 72 6b | 73 20 66 6f 72 20 74 68 |nly work|s for th|
|00000990| 6f 73 65 20 66 6f 6e 74 | 73 20 77 68 69 63 68 0a |ose font|s which.|
|000009a0| 25 20 66 6f 6c 6c 6f 77 | 20 43 6f 6d 70 75 74 65 |% follow| Compute|
|000009b0| 72 20 4d 6f 64 65 72 6e | 27 73 20 63 6f 6e 76 65 |r Modern|'s conve|
|000009c0| 6e 74 69 6f 6e 73 20 66 | 6f 72 20 75 73 69 6e 67 |ntions f|or using|
|000009d0| 20 7c 66 6f 6e 74 5f 73 | 65 74 75 70 7c 2e 20 20 | |font_s|etup|. |
|000009e0| 46 6f 72 0a 25 20 66 75 | 72 74 68 65 72 20 64 69 |For.% fu|rther di|
|000009f0| 73 63 75 73 73 69 6f 6e | 20 6f 66 20 77 72 69 74 |scussion| of writ|
|00000a00| 65 2f 77 68 69 74 65 20 | 61 6e 64 20 77 68 69 74 |e/white |and whit|
|00000a10| 65 2f 62 6c 61 63 6b 20 | 64 65 76 69 63 65 73 2c |e/black |devices,|
|00000a20| 20 73 65 65 20 74 68 65 | 0a 25 20 66 69 6c 65 20 | see the|.% file |
|00000a30| 66 74 70 2e 63 73 2e 75 | 6d 62 2e 65 64 75 3a 70 |ftp.cs.u|mb.edu:p|
|00000a40| 75 62 2f 74 65 78 2f 77 | 72 69 74 65 2d 77 68 69 |ub/tex/w|rite-whi|
|00000a50| 74 65 2c 20 61 6e 64 20 | 61 6c 73 6f 20 50 69 65 |te, and |also Pie|
|00000a60| 72 72 65 20 4d 61 63 4b | 61 79 27 73 0a 25 20 61 |rre MacK|ay's.% a|
|00000a70| 72 74 69 63 6c 65 20 69 | 6e 20 74 68 65 20 70 72 |rticle i|n the pr|
|00000a80| 6f 63 65 65 64 69 6e 67 | 73 20 6f 66 20 74 68 65 |oceeding|s of the|
|00000a90| 20 31 39 39 31 20 52 61 | 73 74 65 72 20 49 6d 61 | 1991 Ra|ster Ima|
|00000aa0| 67 69 6e 67 20 61 6e 64 | 20 44 69 67 69 74 61 6c |ging and| Digital|
|00000ab0| 0a 25 20 54 79 70 6f 67 | 72 61 70 68 79 20 63 6f |.% Typog|raphy co|
|00000ac0| 6e 66 65 72 65 6e 63 65 | 3a 0a 25 20 5c 62 65 67 |nference|:.% \beg|
|00000ad0| 69 6e 67 72 6f 75 70 20 | 5c 74 74 0a 25 20 40 53 |ingroup |\tt.% @S|
|00000ae0| 74 72 69 6e 67 7b 70 72 | 6f 63 2d 52 49 44 54 39 |tring{pr|oc-RIDT9|
|00000af0| 31 20 3d 20 22 52 61 73 | 74 65 72 20 49 6d 61 67 |1 = "Ras|ter Imag|
|00000b00| 69 6e 67 20 61 6e 64 20 | 44 69 67 69 74 61 6c 20 |ing and |Digital |
|00000b10| 54 79 70 6f 67 72 61 70 | 68 79 20 49 49 22 7d 0a |Typograp|hy II"}.|
|00000b20| 25 20 40 53 74 72 69 6e | 67 7b 70 75 62 2d 43 55 |% @Strin|g{pub-CU|
|00000b30| 50 20 3d 20 22 43 61 6d | 62 72 69 64 67 65 20 55 |P = "Cam|bridge U|
|00000b40| 6e 69 76 65 72 73 69 74 | 79 20 50 72 65 73 73 22 |niversit|y Press"|
|00000b50| 7d 0a 25 20 40 49 6e 70 | 72 6f 63 65 65 64 69 6e |}.% @Inp|roceedin|
|00000b60| 67 73 7b 4d 61 63 6b 61 | 79 3a 52 49 44 54 39 31 |gs{Macka|y:RIDT91|
|00000b70| 2d 32 30 35 2c 0a 25 20 | 20 20 61 75 74 68 6f 72 |-205,.% | author|
|00000b80| 20 3d 20 20 20 20 20 20 | 20 22 50 69 65 72 72 65 | = | "Pierre|
|00000b90| 20 41 2e 20 4d 61 63 4b | 61 79 22 2c 0a 25 20 20 | A. MacK|ay",.% |
|00000ba0| 20 74 69 74 6c 65 20 3d | 20 20 20 20 20 20 20 20 | title =| |
|00000bb0| 22 4c 6f 6f 6b 69 6e 67 | 20 61 74 20 74 68 65 20 |"Looking| at the |
|00000bc0| 50 69 78 65 6c 73 3a 20 | 51 75 61 6c 69 74 79 20 |Pixels: |Quality |
|00000bd0| 43 6f 6e 74 72 6f 6c 20 | 66 6f 72 20 33 30 30 20 |Control |for 300 |
|00000be0| 64 70 69 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 |dpi.% | |
|00000bf0| 20 20 20 20 20 20 20 4c | 61 73 65 72 20 50 72 69 | L|aser Pri|
|00000c00| 6e 74 65 72 20 46 6f 6e | 74 73 2c 20 65 73 70 65 |nter Fon|ts, espe|
|00000c10| 63 69 61 6c 6c 79 20 7b | 5c 4d 46 7d 73 20 22 2c |cially {|\MF}s ",|
|00000c20| 0a 25 20 20 20 70 61 67 | 65 73 20 3d 20 20 20 20 |.% pag|es = |
|00000c30| 20 20 20 20 22 32 30 35 | 2d 2d 32 31 35 22 2c 0a | "205|--215",.|
|00000c40| 25 20 20 20 63 72 6f 73 | 73 72 65 66 20 3d 20 20 |% cros|sref = |
|00000c50| 20 20 20 22 4d 6f 72 72 | 69 73 3a 52 49 44 54 39 | "Morr|is:RIDT9|
|00000c60| 31 22 2c 0a 25 20 40 50 | 72 6f 63 65 65 64 69 6e |1",.% @P|roceedin|
|00000c70| 67 73 7b 4d 6f 72 72 69 | 73 3a 52 49 44 54 39 31 |gs{Morri|s:RIDT91|
|00000c80| 2c 0a 25 20 20 20 74 69 | 74 6c 65 20 3d 20 20 20 |,.% ti|tle = |
|00000c90| 20 20 20 20 20 70 72 6f | 63 2d 52 49 44 54 39 31 | pro|c-RIDT91|
|00000ca0| 2c 0a 25 20 20 20 62 6f | 6f 6b 74 69 74 6c 65 20 |,.% bo|oktitle |
|00000cb0| 3d 20 20 20 20 70 72 6f | 63 2d 52 49 44 54 39 31 |= pro|c-RIDT91|
|00000cc0| 2c 0a 25 20 20 20 79 65 | 61 72 20 3d 20 20 20 20 |,.% ye|ar = |
|00000cd0| 20 20 20 20 20 22 31 39 | 39 31 22 2c 0a 25 20 20 | "19|91",.% |
|00000ce0| 20 65 64 69 74 6f 72 20 | 3d 20 20 20 20 20 20 20 | editor |= |
|00000cf0| 22 52 6f 62 65 72 74 20 | 41 2e 20 4d 6f 72 72 69 |"Robert |A. Morri|
|00000d00| 73 20 61 6e 64 20 4a 61 | 63 71 75 65 73 20 41 6e |s and Ja|cques An|
|00000d10| 64 72 7b 5c 27 65 7d 22 | 2c 0a 25 20 20 20 70 75 |dr{\'e}"|,.% pu|
|00000d20| 62 6c 69 73 68 65 72 20 | 3d 20 20 20 20 70 75 62 |blisher |= pub|
|00000d30| 2d 43 55 50 2c 0a 25 20 | 20 20 61 64 64 72 65 73 |-CUP,.% | addres|
|00000d40| 73 20 3d 20 20 20 20 20 | 20 70 75 62 2d 43 55 50 |s = | pub-CUP|
|00000d50| 3a 61 64 72 2c 0a 25 20 | 20 20 61 63 6b 6e 6f 77 |:adr,.% | acknow|
|00000d60| 6c 65 64 67 65 6d 65 6e | 74 20 3d 20 61 63 6b 2d |ledgemen|t = ack-|
|00000d70| 6b 62 2c 0a 25 20 5c 65 | 6e 64 67 72 6f 75 70 0a |kb,.% \e|ndgroup.|
|00000d80| 25 20 54 68 69 73 20 66 | 69 6c 65 20 69 73 20 74 |% This f|ile is t|
|00000d90| 79 70 69 63 61 6c 6c 79 | 20 6c 6f 61 64 65 64 20 |ypically| loaded |
|00000da0| 77 68 65 6e 20 6d 61 6b | 69 6e 67 20 61 20 5c 4d |when mak|ing a \M|
|00000db0| 46 5c 20 62 61 73 65 3b | 20 66 6f 72 20 65 78 61 |F\ base;| for exa|
|00000dc0| 6d 70 6c 65 2c 0a 25 20 | 74 68 65 20 63 6f 6d 6d |mple,.% |the comm|
|00000dd0| 61 6e 64 20 6c 69 6e 65 | 20 0a 25 20 7b 5c 74 74 |and line| .% {\tt|
|00000de0| 20 69 6e 69 6d 66 20 70 | 6c 61 69 6e 20 69 6e 70 | inimf p|lain inp|
|00000df0| 75 74 20 6d 6f 64 65 73 | 20 64 75 6d 70 7d 20 0a |ut modes| dump} .|
|00000e00| 25 20 6d 61 6b 65 73 20 | 61 20 66 69 6c 65 20 7b |% makes |a file {|
|00000e10| 5c 74 74 20 70 6c 61 69 | 6e 2e 62 61 73 65 7d 20 |\tt plai|n.base} |
|00000e20| 28 6f 72 20 7b 5c 74 74 | 20 70 6c 61 69 6e 2e 62 |(or {\tt| plain.b|
|00000e30| 61 73 7d 2c 20 6f 72 20 | 73 6f 6d 65 74 68 69 6e |as}, or |somethin|
|00000e40| 67 20 6c 69 6b 65 0a 25 | 20 74 68 61 74 29 20 77 |g like.%| that) w|
|00000e50| 69 74 68 20 61 6c 6c 20 | 74 68 65 20 6d 6f 64 65 |ith all |the mode|
|00000e60| 73 20 68 65 72 65 69 6e | 20 64 65 66 69 6e 65 64 |s herein| defined|
|00000e70| 20 28 70 6c 61 69 6e 20 | 69 74 73 65 6c 66 20 64 | (plain |itself d|
|00000e80| 65 66 69 6e 65 73 20 6d | 6f 64 65 73 0a 25 20 63 |efines m|odes.% c|
|00000e90| 61 6c 6c 65 64 20 7c 70 | 72 6f 6f 66 7c 2c 20 7c |alled |p|roof|, ||
|00000ea0| 73 6d 6f 6b 65 7c 2c 20 | 61 6e 64 20 7c 6c 6f 77 |smoke|, |and |low|
|00000eb0| 72 65 73 7c 2e 29 0a 25 | 20 59 6f 75 20 63 61 6e |res|.).%| You can|
|00000ec0| 20 6d 61 6b 65 20 74 68 | 65 20 43 6f 6d 70 75 74 | make th|e Comput|
|00000ed0| 65 72 20 4d 6f 64 65 72 | 6e 20 62 61 73 65 20 77 |er Moder|n base w|
|00000ee0| 69 74 68 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 20 |ith the |command |
|00000ef0| 6c 69 6e 65 3a 0a 25 20 | 7b 5c 74 74 20 69 6e 69 |line:.% |{\tt ini|
|00000f00| 6d 66 20 70 6c 61 69 6e | 20 69 6e 70 75 74 20 6d |mf plain| input m|
|00000f10| 6f 64 65 73 20 69 6e 70 | 75 74 20 63 6d 62 61 73 |odes inp|ut cmbas|
|00000f20| 65 20 64 75 6d 70 7d 0a | 25 20 4f 6e 20 55 6e 69 |e dump}.|% On Uni|
|00000f30| 78 20 73 79 73 74 65 6d | 73 2c 20 79 6f 75 20 74 |x system|s, you t|
|00000f40| 68 65 6e 20 69 6e 73 74 | 61 6c 6c 20 74 68 65 20 |hen inst|all the |
|00000f50| 62 61 73 65 20 66 69 6c | 65 20 69 6e 20 74 68 65 |base fil|e in the|
|00000f60| 20 73 79 73 74 65 6d 0a | 25 20 64 69 72 65 63 74 | system.|% direct|
|00000f70| 6f 72 79 20 28 2f 75 73 | 72 2f 6c 6f 63 61 6c 2f |ory (/us|r/local/|
|00000f80| 6c 69 62 2f 74 65 78 6d | 66 2f 69 6e 69 20 61 73 |lib/texm|f/ini as|
|00000f90| 20 64 69 73 74 72 69 62 | 75 74 65 64 29 20 61 73 | distrib|uted) as|
|00000fa0| 20 7b 5c 74 74 20 6d 66 | 2e 62 61 73 65 7d 2e 0a | {\tt mf|.base}..|
|00000fb0| 25 20 54 65 58 20 61 6e | 64 20 4d 65 74 61 66 6f |% TeX an|d Metafo|
|00000fc0| 6e 74 20 75 73 65 20 74 | 68 65 20 6e 61 6d 65 20 |nt use t|he name |
|00000fd0| 74 68 65 79 20 77 65 72 | 65 20 69 6e 76 6f 6b 65 |they wer|e invoke|
|00000fe0| 64 20 61 73 20 74 6f 20 | 64 65 74 65 72 6d 69 6e |d as to |determin|
|00000ff0| 65 20 74 68 65 0a 25 20 | 66 6f 72 6d 61 74 20 6f |e the.% |format o|
|00001000| 72 20 62 61 73 65 20 66 | 69 6c 65 20 74 6f 20 72 |r base f|ile to r|
|00001010| 65 61 64 3b 20 74 68 75 | 73 20 72 75 6e 6e 69 6e |ead; thu|s runnin|
|00001020| 67 20 7b 5c 74 74 20 6d | 66 7d 20 72 65 61 64 73 |g {\tt m|f} reads|
|00001030| 20 7b 5c 74 74 0a 25 20 | 6d 66 2e 62 61 73 65 7d | {\tt.% |mf.base}|
|00001040| 2c 20 72 75 6e 6e 69 6e | 67 20 7b 5c 74 74 20 63 |, runnin|g {\tt c|
|00001050| 6d 6d 66 7d 20 72 65 61 | 64 73 20 7b 5c 74 74 20 |mmf} rea|ds {\tt |
|00001060| 63 6d 6d 66 2e 62 61 73 | 65 7d 2c 20 61 6e 64 20 |cmmf.bas|e}, and |
|00001070| 73 6f 20 6f 6e 2e 20 20 | 7b 5c 74 74 0a 25 20 70 |so on. |{\tt.% p|
|00001080| 6c 61 69 6e 2e 62 61 73 | 65 7d 20 61 6e 64 20 7b |lain.bas|e} and {|
|00001090| 5c 74 74 20 6d 66 2e 62 | 61 73 65 7d 20 73 68 6f |\tt mf.b|ase} sho|
|000010a0| 75 6c 64 20 62 65 20 74 | 68 65 20 73 61 6d 65 20 |uld be t|he same |
|000010b0| 66 69 6c 65 20 28 69 2e | 65 2e 2c 20 61 20 68 61 |file (i.|e., a ha|
|000010c0| 72 64 0a 25 20 6c 69 6e | 6b 20 69 73 20 6f 6b 29 |rd.% lin|k is ok)|
|000010d0| 2c 20 73 6f 20 74 68 65 | 20 65 78 61 6d 70 6c 65 |, so the| example|
|000010e0| 73 20 69 6e 20 74 68 65 | 20 7b 5c 73 6c 20 4d 65 |s in the| {\sl Me|
|000010f0| 74 61 66 6f 6e 74 62 6f | 6f 6b 7d 20 77 6f 72 6b |tafontbo|ok} work|
|00001100| 20 70 72 6f 70 65 72 6c | 79 2e 0a 25 20 41 20 75 | properl|y..% A u|
|00001110| 73 65 72 20 73 65 6c 65 | 63 74 73 20 61 20 70 61 |ser sele|cts a pa|
|00001120| 72 74 69 63 75 6c 61 72 | 20 6d 6f 64 65 20 77 68 |rticular| mode wh|
|00001130| 65 6e 20 73 2f 68 65 20 | 72 75 6e 73 20 5c 4d 46 |en s/he |runs \MF|
|00001140| 2c 20 62 79 20 61 73 73 | 69 67 6e 69 6e 67 20 74 |, by ass|igning t|
|00001150| 6f 0a 25 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 |o.% the |variable|
|00001160| 20 7c 6d 6f 64 65 7c 2e | 20 20 46 6f 72 20 65 78 | |mode|.| For ex|
|00001170| 61 6d 70 6c 65 2c 0a 25 | 20 7b 5c 74 74 20 5c 63 |ample,.%| {\tt \c|
|00001180| 68 61 72 60 5c 5c 6d 6f | 64 65 3a 3d 63 78 3b 20 |har`\\mo|de:=cx; |
|00001190| 69 6e 70 75 74 20 63 6d | 72 31 30 7d 0a 25 20 73 |input cm|r10}.% s|
|000011a0| 65 74 73 20 75 70 20 76 | 61 6c 75 65 73 20 61 70 |ets up v|alues ap|
|000011b0| 70 72 6f 70 72 69 61 74 | 65 20 66 6f 72 20 74 68 |propriat|e for th|
|000011c0| 65 20 43 61 6e 6f 6e 43 | 58 20 65 6e 67 69 6e 65 |e CanonC|X engine|
|000011d0| 2e 0a 25 20 49 66 20 6e | 6f 20 6d 6f 64 65 20 69 |..% If n|o mode i|
|000011e0| 73 20 61 73 73 69 67 6e | 65 64 2c 20 74 68 65 20 |s assign|ed, the |
|000011f0| 64 65 66 61 75 6c 74 20 | 69 73 20 7c 70 72 6f 6f |default |is |proo|
|00001200| 66 7c 20 6d 6f 64 65 2c | 20 61 73 20 73 74 61 74 |f| mode,| as stat|
|00001210| 65 64 20 69 6e 20 7b 5c | 73 6c 0a 25 20 54 68 65 |ed in {\|sl.% The|
|00001220| 20 5c 4d 46 20 62 6f 6f | 6b 7d 2e 20 20 54 68 69 | \MF boo|k}. Thi|
|00001230| 73 20 69 73 20 74 68 65 | 20 63 61 75 73 65 20 6f |s is the| cause o|
|00001240| 66 20 74 68 65 20 60 60 | 7b 5c 74 74 20 2e 32 36 |f the ``|{\tt .26|
|00001250| 30 32 67 66 7d 27 27 20 | 66 69 6c 65 73 20 77 68 |02gf}'' |files wh|
|00001260| 69 63 68 0a 25 20 61 72 | 65 20 74 68 65 20 73 75 |ich.% ar|e the su|
|00001270| 62 6a 65 63 74 20 6f 66 | 20 70 65 72 69 6f 64 69 |bject of| periodi|
|00001280| 63 20 71 75 65 73 74 69 | 6f 6e 73 2e 20 20 54 68 |c questi|ons. Th|
|00001290| 65 20 72 65 6d 65 64 79 | 20 69 73 20 73 69 6d 70 |e remedy| is simp|
|000012a0| 6c 79 20 74 6f 20 61 73 | 73 69 67 6e 0a 25 20 61 |ly to as|sign.% a|
|000012b0| 20 64 69 66 66 65 72 65 | 6e 74 20 6d 6f 64 65 2d | differe|nt mode-|
|000012c0| 2d 2d 7c 6c 6f 63 61 6c | 66 6f 6e 74 7c 2c 20 66 |--|local|font|, f|
|000012d0| 6f 72 20 65 78 61 6d 70 | 6c 65 2e 0a 25 20 45 76 |or examp|le..% Ev|
|000012e0| 65 72 79 20 73 69 74 65 | 20 73 68 6f 75 6c 64 20 |ery site| should |
|000012f0| 64 65 66 69 6e 65 20 74 | 68 65 20 6d 6f 64 65 20 |define t|he mode |
|00001300| 7c 6c 6f 63 61 6c 66 6f | 6e 74 7c 20 74 6f 20 62 ||localfo|nt| to b|
|00001310| 65 20 61 20 73 79 6e 6f | 6e 79 6d 20 66 6f 72 20 |e a syno|nym for |
|00001320| 74 68 65 0a 25 20 6d 6f | 64 65 20 6d 6f 73 74 20 |the.% mo|de most |
|00001330| 63 6f 6d 6d 6f 6e 6c 79 | 20 75 73 65 64 2e 20 20 |commonly| used. |
|00001340| 54 68 69 73 20 66 69 6c | 65 20 64 65 66 69 6e 65 |This fil|e define|
|00001350| 73 20 7c 6c 6f 63 61 6c | 66 6f 6e 74 7c 20 74 6f |s |local|font| to|
|00001360| 20 62 65 20 7c 63 78 7c | 2e 0a 25 20 54 68 65 20 | be |cx||..% The |
|00001370| 76 61 6c 75 65 73 20 66 | 6f 72 20 7c 73 63 72 65 |values f|or |scre|
|00001380| 65 6e 5f 72 6f 77 73 7c | 20 61 6e 64 20 7c 73 63 |en_rows|| and |sc|
|00001390| 72 65 65 6e 5f 63 6f 6c | 73 7c 2c 20 77 68 69 63 |reen_col|s|, whic|
|000013a0| 68 20 64 65 74 65 72 6d | 69 6e 65 20 68 6f 77 0a |h determ|ine how.|
|000013b0| 25 20 62 69 67 20 5c 4d | 46 27 73 20 77 69 6e 64 |% big \M|F's wind|
|000013c0| 6f 77 20 66 6f 72 20 6f | 6e 6c 69 6e 65 20 6f 75 |ow for o|nline ou|
|000013d0| 74 70 75 74 20 69 73 2c | 20 73 68 6f 75 6c 64 20 |tput is,| should |
|000013e0| 70 65 72 68 61 70 73 20 | 61 6c 73 6f 20 62 65 20 |perhaps |also be |
|000013f0| 63 68 61 6e 67 65 64 3b | 0a 25 20 63 65 72 74 61 |changed;|.% certa|
|00001400| 69 6e 6c 79 20 69 6e 64 | 69 76 69 64 75 61 6c 20 |inly ind|ividual |
|00001410| 75 73 65 72 73 20 73 68 | 6f 75 6c 64 20 63 68 61 |users sh|ould cha|
|00001420| 6e 67 65 20 74 68 65 6d | 20 74 6f 20 74 68 65 69 |nge them| to thei|
|00001430| 72 20 6f 77 6e 20 74 61 | 73 74 65 73 2e 0a 25 20 |r own ta|stes..% |
|00001440| 54 68 69 73 20 66 69 6c | 65 20 64 65 66 69 6e 65 |This fil|e define|
|00001450| 73 20 7b 5c 74 74 20 3f | 7d 20 74 6f 20 74 79 70 |s {\tt ?|} to typ|
|00001460| 65 20 6f 75 74 20 61 20 | 6c 69 73 74 20 6f 66 20 |e out a |list of |
|00001470| 61 6c 6c 20 74 68 65 20 | 6b 6e 6f 77 6e 0a 25 20 |all the |known.% |
|00001480| 7c 6d 6f 64 65 5f 64 65 | 66 7c 73 20 28 6f 6e 63 ||mode_de|f|s (onc|
|00001490| 65 20 6f 6e 6c 79 29 2e | 0a 25 20 54 65 63 68 6e |e only).|.% Techn|
|000014a0| 69 63 61 6c 6c 79 2c 20 | 61 20 7c 6d 6f 64 65 5f |ically, |a |mode_|
|000014b0| 64 65 66 7c 20 69 73 20 | 61 20 5c 4d 46 5c 20 64 |def| is |a \MF\ d|
|000014c0| 65 66 69 6e 69 74 69 6f | 6e 20 74 68 61 74 20 74 |efinitio|n that t|
|000014d0| 79 70 69 63 61 6c 6c 79 | 20 63 6f 6e 73 69 73 74 |ypically| consist|
|000014e0| 73 0a 25 20 6f 66 20 61 | 20 73 65 72 69 65 73 20 |s.% of a| series |
|000014f0| 6f 66 20 61 73 73 69 67 | 6e 6d 65 6e 74 73 20 74 |of assig|nments t|
|00001500| 6f 20 76 61 72 69 6f 75 | 73 20 64 65 76 69 63 65 |o variou|s device|
|00001510| 2d 73 70 65 63 69 66 69 | 63 20 76 61 72 69 61 62 |-specifi|c variab|
|00001520| 6c 65 73 2c 0a 25 20 65 | 69 74 68 65 72 20 70 72 |les,.% e|ither pr|
|00001530| 69 6d 69 74 69 76 65 20 | 6f 72 20 64 65 66 69 6e |imitive |or defin|
|00001540| 65 64 20 69 6e 20 70 6c | 61 69 6e 2e 20 20 54 68 |ed in pl|ain. Th|
|00001550| 65 73 65 20 76 61 72 69 | 61 62 6c 65 73 20 69 6e |ese vari|ables in|
|00001560| 63 6c 75 64 65 20 74 68 | 65 0a 25 20 66 6f 6c 6c |clude th|e.% foll|
|00001570| 6f 77 69 6e 67 20 28 70 | 61 67 65 20 6e 75 6d 62 |owing (p|age numb|
|00001580| 65 72 73 20 72 65 66 65 | 72 20 74 6f 20 7b 5c 73 |ers refe|r to {\s|
|00001590| 6c 20 54 68 65 20 5c 4d | 46 20 62 6f 6f 6b 5c 2f |l The \M|F book\/|
|000015a0| 7d 3a 0a 25 20 7c 61 73 | 70 65 63 74 5f 72 61 74 |}:.% |as|pect_rat|
|000015b0| 69 6f 7c 3a 20 74 68 65 | 20 72 61 74 69 6f 20 6f |io|: the| ratio o|
|000015c0| 66 20 74 68 65 20 76 65 | 72 74 69 63 61 6c 20 72 |f the ve|rtical r|
|000015d0| 65 73 6f 6c 75 74 69 6f | 6e 20 74 6f 20 74 68 65 |esolutio|n to the|
|000015e0| 20 68 6f 72 69 7a 6f 6e | 74 61 6c 0a 25 20 20 20 | horizon|tal.% |
|000015f0| 72 65 73 6f 6c 75 74 69 | 6f 6e 20 28 70 61 67 65 |resoluti|on (page|
|00001600| 20 39 34 29 2e 0a 25 20 | 7c 62 6c 61 63 6b 65 72 | 94)..% ||blacker|
|00001610| 7c 3a 20 61 20 63 6f 72 | 72 65 63 74 69 6f 6e 20 ||: a cor|rection |
|00001620| 61 64 64 65 64 20 74 6f | 20 74 68 65 20 77 69 64 |added to| the wid|
|00001630| 74 68 20 6f 66 20 73 74 | 65 6d 73 20 61 6e 64 20 |th of st|ems and |
|00001640| 73 69 6d 69 6c 61 72 0a | 25 20 20 20 66 65 61 74 |similar.|% feat|
|00001650| 75 72 65 73 2c 20 74 6f | 20 61 63 63 6f 75 6e 74 |ures, to| account|
|00001660| 20 66 6f 72 20 64 65 76 | 69 63 65 73 20 77 68 69 | for dev|ices whi|
|00001670| 63 68 20 77 6f 75 6c 64 | 20 6f 74 68 65 72 77 69 |ch would| otherwi|
|00001680| 73 65 20 6d 61 6b 65 20 | 74 68 65 6d 20 74 6f 6f |se make |them too|
|00001690| 0a 25 20 20 20 6c 69 67 | 68 74 20 28 70 61 67 65 |.% lig|ht (page|
|000016a0| 20 39 33 29 2e 20 20 28 | 57 72 69 74 65 2d 77 68 | 93). (|Write-wh|
|000016b0| 69 74 65 20 64 65 76 69 | 63 65 73 20 61 72 65 20 |ite devi|ces are |
|000016c0| 62 65 73 74 20 68 61 6e | 64 6c 65 64 20 62 79 20 |best han|dled by |
|000016d0| 61 20 6d 6f 72 65 0a 25 | 20 20 20 73 6f 70 68 69 |a more.%| sophi|
|000016e0| 73 74 69 63 61 74 65 64 | 20 6d 65 74 68 6f 64 20 |sticated| method |
|000016f0| 74 68 61 6e 20 6d 65 72 | 65 6c 79 20 61 64 64 69 |than mer|ely addi|
|00001700| 6e 67 20 74 6f 20 7c 62 | 6c 61 63 6b 65 72 7c 2c |ng to |b|lacker|,|
|00001710| 20 61 73 20 65 78 70 6c | 61 69 6e 65 64 20 61 62 | as expl|ained ab|
|00001720| 6f 76 65 2e 29 0a 25 20 | 7c 66 69 6c 6c 69 6e 7c |ove.).% ||fillin||
|00001730| 3a 20 61 20 63 6f 72 72 | 65 63 74 69 6f 6e 20 66 |: a corr|ection f|
|00001740| 61 63 74 6f 72 20 66 6f | 72 20 64 69 61 67 6f 6e |actor fo|r diagon|
|00001750| 61 6c 73 20 61 6e 64 20 | 6f 74 68 65 72 20 66 65 |als and |other fe|
|00001760| 61 74 75 72 65 73 20 77 | 68 69 63 68 0a 25 20 20 |atures w|hich.% |
|00001770| 20 77 6f 75 6c 64 20 6f | 74 68 65 72 77 69 73 65 | would o|therwise|
|00001780| 20 62 65 20 60 60 66 69 | 6c 6c 65 64 20 69 6e 27 | be ``fi|lled in'|
|00001790| 27 20 28 70 61 67 65 20 | 39 34 29 2e 20 20 41 6e |' (page |94). An|
|000017a0| 20 69 64 65 61 6c 20 64 | 65 76 69 63 65 20 77 6f | ideal d|evice wo|
|000017b0| 75 6c 64 0a 25 20 20 20 | 68 61 76 65 20 7c 66 69 |uld.% |have |fi|
|000017c0| 6c 6c 69 6e 3d 30 7c 20 | 28 70 61 67 65 20 39 34 |llin=0| |(page 94|
|000017d0| 29 2e 20 20 4e 65 67 61 | 74 69 76 65 20 76 61 6c |). Nega|tive val|
|000017e0| 75 65 73 20 66 6f 72 20 | 7c 66 69 6c 6c 69 6e 7c |ues for ||fillin||
|000017f0| 20 74 79 70 69 63 61 6c | 6c 79 0a 25 20 20 20 68 | typical|ly.% h|
|00001800| 61 76 65 20 65 69 74 68 | 65 72 20 67 72 6f 73 73 |ave eith|er gross|
|00001810| 20 65 66 66 65 63 74 73 | 20 6f 72 20 6e 6f 6e 65 | effects| or none|
|00001820| 20 61 74 20 61 6c 6c 2c | 20 61 6e 64 20 73 68 6f | at all,| and sho|
|00001830| 75 6c 64 20 62 65 20 61 | 76 6f 69 64 65 64 2e 0a |uld be a|voided..|
|00001840| 25 20 7c 66 6f 6e 74 6d | 61 6b 69 6e 67 7c 3a 20 |% |fontm|aking|: |
|00001850| 69 66 20 6e 6f 6e 7a 65 | 72 6f 20 61 74 20 74 68 |if nonze|ro at th|
|00001860| 65 20 65 6e 64 20 6f 66 | 20 74 68 65 20 6a 6f 62 |e end of| the job|
|00001870| 2c 20 5c 4d 46 5c 20 77 | 72 69 74 65 73 20 61 20 |, \MF\ w|rites a |
|00001880| 54 46 4d 20 66 69 6c 65 | 0a 25 20 20 20 28 70 61 |TFM file|.% (pa|
|00001890| 67 65 20 33 31 35 29 2e | 0a 25 20 7c 6f 5f 63 6f |ge 315).|.% |o_co|
|000018a0| 72 72 65 63 74 69 6f 6e | 7c 3a 20 61 20 63 6f 72 |rrection||: a cor|
|000018b0| 72 65 63 74 69 6f 6e 20 | 66 61 63 74 6f 72 20 66 |rection |factor f|
|000018c0| 6f 72 20 74 68 65 20 60 | 60 6f 76 65 72 73 68 6f |or the `|`oversho|
|000018d0| 6f 74 27 27 20 6f 66 20 | 63 75 72 76 65 73 0a 25 |ot'' of |curves.%|
|000018e0| 20 20 20 62 65 79 6f 6e | 64 20 74 68 65 20 62 61 | beyon|d the ba|
|000018f0| 73 65 6c 69 6e 65 20 6f | 72 20 78 2d 68 65 69 67 |seline o|r x-heig|
|00001900| 68 74 2e 20 20 48 69 67 | 68 20 72 65 73 6f 6c 75 |ht. Hig|h resolu|
|00001910| 74 69 6f 6e 20 63 75 72 | 76 65 73 20 6c 6f 6f 6b |tion cur|ves look|
|00001920| 20 62 65 74 74 65 72 0a | 25 20 20 20 77 69 74 68 | better.|% with|
|00001930| 20 6f 76 65 72 73 68 6f | 6f 74 2c 20 73 6f 20 73 | oversho|ot, so s|
|00001940| 75 63 68 20 64 65 76 69 | 63 65 73 20 73 68 6f 75 |uch devi|ces shou|
|00001950| 6c 64 20 68 61 76 65 20 | 7c 6f 5f 63 6f 72 72 65 |ld have ||o_corre|
|00001960| 63 74 69 6f 6e 3d 31 7c | 3b 20 62 75 74 20 61 74 |ction=1||; but at|
|00001970| 0a 25 20 20 20 6c 6f 77 | 20 72 65 73 6f 6c 75 74 |.% low| resolut|
|00001980| 69 6f 6e 73 2c 20 74 68 | 65 20 6f 76 65 72 73 68 |ions, th|e oversh|
|00001990| 6f 6f 74 20 61 70 70 65 | 61 72 73 20 74 6f 20 73 |oot appe|ars to s|
|000019a0| 69 6d 70 6c 79 20 62 65 | 20 61 20 64 69 73 74 6f |imply be| a disto|
|000019b0| 72 74 69 6f 6e 0a 25 20 | 20 20 28 70 61 67 65 20 |rtion.% | (page |
|000019c0| 39 33 29 2e 20 20 48 65 | 72 65 20 73 6f 6d 65 20 |93). He|re some |
|000019d0| 61 64 64 69 74 69 6f 6e | 61 6c 20 63 6f 6d 6d 65 |addition|al comme|
|000019e0| 6e 74 73 20 61 62 6f 75 | 74 20 7c 6f 5f 63 6f 72 |nts abou|t |o_cor|
|000019f0| 72 65 63 74 69 6f 6e 7c | 2c 0a 25 20 20 20 63 6f |rection||,.% co|
|00001a00| 75 72 74 65 73 79 20 6f | 66 20 50 69 65 72 72 65 |urtesy o|f Pierre|
|00001a10| 20 4d 61 63 4b 61 79 20 | 28 65 64 69 74 65 64 20 | MacKay |(edited |
|00001a20| 62 79 20 4b 61 72 6c 29 | 3a 0a 25 20 20 20 41 74 |by Karl)|:.% At|
|00001a30| 20 70 72 65 73 65 6e 74 | 2c 20 49 20 66 69 6e 64 | present|, I find|
|00001a40| 20 74 68 61 74 20 7c 6f | 5f 63 6f 72 72 65 63 74 | that |o|_correct|
|00001a50| 69 6f 6e 7c 20 77 6f 72 | 6b 73 20 6e 69 63 65 6c |ion| wor|ks nicel|
|00001a60| 79 20 61 74 20 38 30 20 | 70 69 78 65 6c 73 20 70 |y at 80 |pixels p|
|00001a70| 65 72 0a 25 20 20 20 65 | 6d 2c 20 61 6e 64 20 67 |er.% e|m, and g|
|00001a80| 65 74 73 20 69 6e 63 72 | 65 61 73 69 6e 67 6c 79 |ets incr|easingly|
|00001a90| 20 64 69 73 74 75 72 62 | 69 6e 67 20 61 73 20 79 | disturb|ing as y|
|00001aa0| 6f 75 20 6d 6f 76 65 20 | 64 6f 77 6e 20 74 6f 77 |ou move |down tow|
|00001ab0| 61 72 64 73 20 35 30 0a | 25 20 20 20 70 69 78 65 |ards 50.|% pixe|
|00001ac0| 6c 73 20 70 65 72 20 65 | 6d 2e 20 42 65 6c 6f 77 |ls per e|m. Below|
|00001ad0| 20 74 68 61 74 20 49 20 | 64 6f 20 6e 6f 74 20 74 | that I |do not t|
|00001ae0| 68 69 6e 6b 20 69 74 20 | 6f 75 67 68 74 20 74 6f |hink it |ought to|
|00001af0| 20 68 61 70 70 65 6e 20 | 61 74 20 61 6c 6c 2e 0a | happen |at all..|
|00001b00| 25 20 20 20 54 68 65 20 | 70 72 6f 62 6c 65 6d 2c |% The |problem,|
|00001b10| 20 6f 66 20 63 6f 75 72 | 73 65 2c 20 69 73 20 74 | of cour|se, is t|
|00001b20| 68 61 74 20 66 75 6c 6c | 20 7c 6f 5f 63 6f 72 72 |hat full| |o_corr|
|00001b30| 65 63 74 69 6f 6e 7c 20 | 69 73 20 73 75 70 70 6f |ection| |is suppo|
|00001b40| 73 65 64 20 74 6f 0a 25 | 20 20 20 6f 63 63 75 72 |sed to.%| occur|
|00001b50| 20 6f 6e 6c 79 20 61 74 | 20 74 68 65 20 7a 65 6e | only at| the zen|
|00001b60| 69 74 68 20 61 6e 64 20 | 6e 61 64 69 72 20 6f 66 |ith and |nadir of|
|00001b70| 20 74 68 65 20 63 75 72 | 76 65 20 6f 66 20 60 6f | the cur|ve of `o|
|00001b80| 27 2c 20 77 68 69 63 68 | 20 69 73 20 61 0a 25 20 |', which| is a.% |
|00001b90| 20 20 73 6d 61 6c 6c 20 | 72 65 67 69 6f 6e 20 61 | small |region a|
|00001ba0| 74 20 68 69 67 68 20 72 | 65 73 6f 6c 75 74 69 6f |t high r|esolutio|
|00001bb0| 6e 2c 20 62 75 74 20 6d | 61 79 20 62 65 20 61 20 |n, but m|ay be a |
|00001bc0| 6c 6f 6e 67 20 6c 69 6e | 65 20 6f 66 0a 25 20 20 |long lin|e of.% |
|00001bd0| 20 68 6f 72 69 7a 6f 6e | 74 61 6c 20 70 69 78 65 | horizon|tal pixe|
|00001be0| 6c 73 20 61 74 20 6d 65 | 64 69 75 6d 20 72 65 73 |ls at me|dium res|
|00001bf0| 6f 6c 75 74 69 6f 6e 2e | 20 20 54 68 65 20 66 75 |olution.| The fu|
|00001c00| 6c 6c 20 7c 6f 5f 63 6f | 72 72 65 63 74 69 6f 6e |ll |o_co|rrection|
|00001c10| 7c 0a 25 20 20 20 64 6f | 65 73 20 6e 6f 74 20 63 ||.% do|es not c|
|00001c20| 68 61 6e 67 65 20 61 20 | 33 30 30 24 5c 2c 24 64 |hange a |300$\,$d|
|00001c30| 70 69 20 7b 5c 74 74 20 | 63 6d 72 31 30 7d 2c 20 |pi {\tt |cmr10}, |
|00001c40| 62 75 74 20 69 74 20 63 | 68 61 6e 67 65 73 20 61 |but it c|hanges a|
|00001c50| 20 32 31 2d 70 69 78 65 | 6c 0a 25 20 20 20 68 69 | 21-pixe|l.% hi|
|00001c60| 67 68 20 7b 5c 74 74 20 | 63 6d 72 31 32 7d 20 74 |gh {\tt |cmr12} t|
|00001c70| 6f 20 62 65 20 32 33 20 | 70 69 78 65 6c 73 20 68 |o be 23 |pixels h|
|00001c80| 69 67 68 2e 20 20 54 68 | 65 20 65 78 74 72 61 20 |igh. Th|e extra |
|00001c90| 68 65 69 67 68 74 20 61 | 6e 64 20 64 65 70 74 68 |height a|nd depth|
|00001ca0| 0a 25 20 20 20 69 73 20 | 73 65 65 6e 20 61 6c 6f |.% is |seen alo|
|00001cb0| 6e 67 20 61 20 6c 69 6e | 65 20 6f 66 20 73 65 76 |ng a lin|e of sev|
|00001cc0| 65 6e 20 70 69 78 65 6c | 73 20 61 74 20 74 68 65 |en pixel|s at the|
|00001cd0| 20 62 6f 74 74 6f 6d 20 | 61 6e 64 20 66 69 76 65 | bottom |and five|
|00001ce0| 20 61 74 20 74 68 65 0a | 25 20 20 20 74 6f 70 2e | at the.|% top.|
|00001cf0| 20 20 54 68 69 73 20 69 | 73 20 61 20 70 72 6f 6e | This i|s a pron|
|00001d00| 6f 75 6e 63 65 64 20 6f | 76 65 72 73 68 6f 6f 74 |ounced o|vershoot|
|00001d10| 20 69 6e 64 65 65 64 2e | 0a 25 20 20 20 46 6f 72 | indeed.|.% For|
|00001d20| 20 68 69 67 68 2d 72 65 | 73 6f 6c 75 74 69 6f 6e | high-re|solution|
|00001d30| 20 64 65 76 69 63 65 73 | 2c 20 73 75 63 68 20 61 | devices|, such a|
|00001d40| 73 20 70 68 6f 74 6f 74 | 79 70 65 73 65 74 74 65 |s photot|ypesette|
|00001d50| 72 73 2c 20 74 68 65 20 | 76 61 6c 75 65 73 0a 25 |rs, the |values.%|
|00001d60| 20 20 20 66 6f 72 20 7c | 62 6c 61 63 6b 65 72 7c | for ||blacker||
|00001d70| 2c 20 7c 66 69 6c 6c 69 | 6e 7c 2c 20 61 6e 64 20 |, |filli|n|, and |
|00001d80| 7c 6f 5f 63 6f 72 72 65 | 63 74 69 6f 6e 7c 20 64 ||o_corre|ction| d|
|00001d90| 6f 6e 27 74 20 6d 61 74 | 74 65 72 20 61 6c 6c 20 |on't mat|ter all |
|00001da0| 74 68 61 74 0a 25 20 20 | 20 6d 75 63 68 2c 20 73 |that.% | much, s|
|00001db0| 6f 20 6c 6f 6e 67 20 61 | 73 20 74 68 65 20 76 61 |o long a|s the va|
|00001dc0| 6c 75 65 73 20 61 72 65 | 20 77 69 74 68 69 6e 20 |lues are| within |
|00001dd0| 74 68 65 69 72 20 6e 6f | 72 6d 61 6c 20 72 61 6e |their no|rmal ran|
|00001de0| 67 65 73 3a 20 62 65 74 | 77 65 65 6e 0a 25 20 20 |ges: bet|ween.% |
|00001df0| 20 30 20 61 6e 64 20 31 | 2c 20 77 69 74 68 20 74 | 0 and 1|, with t|
|00001e00| 68 65 20 76 61 6c 75 65 | 73 20 61 70 70 72 6f 61 |he value|s approa|
|00001e10| 63 68 69 6e 67 20 30 2c | 20 30 2c 20 61 6e 64 20 |ching 0,| 0, and |
|00001e20| 31 20 72 65 73 70 65 63 | 74 69 76 65 6c 79 2e 0a |1 respec|tively..|
|00001e30| 25 20 7c 70 69 78 65 6c | 73 5f 70 65 72 5f 69 6e |% |pixel|s_per_in|
|00001e40| 63 68 7c 3a 20 74 68 65 | 20 68 6f 72 69 7a 6f 6e |ch|: the| horizon|
|00001e50| 74 61 6c 20 72 65 73 6f | 6c 75 74 69 6f 6e 3b 20 |tal reso|lution; |
|00001e60| 74 68 65 20 5c 4d 46 5c | 20 70 72 69 6d 69 74 69 |the \MF\| primiti|
|00001e70| 76 65 0a 25 20 20 20 7c | 68 70 70 70 7c 20 28 77 |ve.% ||hppp| (w|
|00001e80| 68 69 63 68 20 69 73 20 | 77 68 61 74 20 64 65 74 |hich is |what det|
|00001e90| 65 72 6d 69 6e 65 73 20 | 74 68 65 20 65 78 74 65 |ermines |the exte|
|00001ea0| 6e 73 69 6f 6e 20 6f 6e | 20 74 68 65 20 47 46 20 |nsion on| the GF |
|00001eb0| 66 69 6c 65 6e 61 6d 65 | 2c 0a 25 20 20 20 61 73 |filename|,.% as|
|00001ec0| 20 61 6d 6f 6e 67 20 6f | 74 68 65 72 20 74 68 69 | among o|ther thi|
|00001ed0| 6e 67 73 29 20 69 73 20 | 63 6f 6d 70 75 74 65 64 |ngs) is |computed|
|00001ee0| 20 66 72 6f 6d 20 74 68 | 69 73 20 28 70 61 67 65 | from th|is (page|
|00001ef0| 20 39 34 29 2e 20 20 28 | 41 6e 0a 25 20 20 20 60 | 94). (|An.% `|
|00001f00| 60 69 6e 63 68 27 27 20 | 69 73 20 37 32 2e 32 37 |`inch'' |is 72.27|
|00001f10| 5c 74 68 69 6e 73 70 61 | 63 65 20 70 74 20 69 6e |\thinspa|ce pt in|
|00001f20| 20 74 68 65 20 5c 54 65 | 58 5c 20 77 6f 72 6c 64 | the \Te|X\ world|
|00001f30| 2e 29 0a 25 20 20 20 54 | 6f 20 62 65 20 6d 6f 72 |.).% T|o be mor|
|00001f40| 65 20 70 72 65 63 69 73 | 65 2c 20 79 6f 75 20 63 |e precis|e, you c|
|00001f50| 61 6e 20 64 65 74 65 72 | 6d 69 6e 65 20 74 68 65 |an deter|mine the|
|00001f60| 20 72 65 73 6f 6c 75 74 | 69 6f 6e 20 6f 66 20 61 | resolut|ion of a|
|00001f70| 20 66 6f 6e 74 20 67 69 | 76 65 6e 20 61 0a 25 20 | font gi|ven a.% |
|00001f80| 20 20 7c 6d 6f 64 65 5f | 64 65 66 7c 20 61 6e 64 | |mode_|def| and|
|00001f90| 20 61 20 6d 61 67 6e 69 | 66 69 63 61 74 69 6f 6e | a magni|fication|
|00001fa0| 20 7c 6d 7c 20 62 79 20 | 73 69 6d 70 6c 79 20 6d | |m| by |simply m|
|00001fb0| 75 6c 74 69 70 6c 79 69 | 6e 67 0a 25 20 20 20 7c |ultiplyi|ng.% ||
|00001fc0| 70 69 78 65 6c 73 5f 70 | 65 72 5f 69 6e 63 68 7c |pixels_p|er_inch||
|00001fd0| 20 66 6f 72 20 74 68 61 | 74 20 7c 6d 6f 64 65 5f | for tha|t |mode_|
|00001fe0| 64 65 66 7c 20 62 79 20 | 7c 6d 7c 2e 20 20 28 59 |def| by ||m|. (Y|
|00001ff0| 6f 75 72 20 72 65 73 75 | 6c 74 73 20 6d 61 79 0a |our resu|lts may.|
|00002000| 25 20 20 20 64 69 66 66 | 65 72 20 66 72 6f 6d 20 |% diff|er from |
|00002010| 5c 4d 46 27 73 20 69 66 | 20 79 6f 75 20 64 6f 6e |\MF's if| you don|
|00002020| 27 74 20 75 73 65 20 65 | 71 75 69 76 61 6c 65 6e |'t use e|quivalen|
|00002030| 74 20 66 69 78 65 64 2d | 70 6f 69 6e 74 0a 25 20 |t fixed-|point.% |
|00002040| 20 20 61 72 69 74 68 6d | 65 74 69 63 2e 29 20 20 | arithm|etic.) |
|00002050| 54 68 65 6e 20 79 6f 75 | 20 63 61 6e 20 64 65 74 |Then you| can det|
|00002060| 65 72 6d 69 6e 65 20 74 | 68 65 20 6e 75 6d 62 65 |ermine t|he numbe|
|00002070| 72 20 75 73 65 64 20 69 | 6e 20 74 68 65 20 6e 61 |r used i|n the na|
|00002080| 6d 65 20 6f 66 0a 25 20 | 20 20 74 68 65 20 47 46 |me of.% | the GF|
|00002090| 20 66 6f 6e 74 20 6f 75 | 74 70 75 74 20 62 79 20 | font ou|tput by |
|000020a0| 72 6f 75 6e 64 69 6e 67 | 2e 20 20 46 6f 72 20 65 |rounding|. For e|
|000020b0| 78 61 6d 70 6c 65 2c 20 | 61 20 66 6f 6e 74 20 67 |xample, |a font g|
|000020c0| 65 6e 65 72 61 74 65 64 | 20 61 74 0a 25 20 20 20 |enerated| at.% |
|000020d0| 7c 6d 61 67 73 74 65 70 | 28 2e 35 29 7c 20 28 77 ||magstep|(.5)| (w|
|000020e0| 68 69 63 68 20 69 73 20 | 24 5c 73 71 72 74 7b 31 |hich is |$\sqrt{1|
|000020f0| 2e 32 7d 24 2c 20 77 68 | 69 63 68 20 5c 4d 46 20 |.2}$, wh|ich \MF |
|00002100| 63 6f 6d 70 75 74 65 73 | 20 61 73 20 31 2e 30 39 |computes| as 1.09|
|00002110| 35 34 34 29 0a 25 20 20 | 20 66 6f 72 20 61 20 70 |544).% | for a p|
|00002120| 72 69 6e 74 65 72 20 77 | 69 74 68 20 7c 70 69 78 |rinter w|ith |pix|
|00002130| 65 6c 73 5f 70 65 72 5f | 69 6e 63 68 3d 33 30 30 |els_per_|inch=300|
|00002140| 7c 20 77 69 6c 6c 20 68 | 61 76 65 20 61 20 72 65 || will h|ave a re|
|00002150| 73 6f 6c 75 74 69 6f 6e | 20 6f 66 0a 25 20 20 20 |solution| of.% |
|00002160| 33 32 38 2e 36 33 33 31 | 32 20 64 6f 74 73 20 70 |328.6331|2 dots p|
|00002170| 65 72 20 69 6e 63 68 2c | 20 61 6e 64 20 74 68 65 |er inch,| and the|
|00002180| 20 47 46 20 66 69 6c 65 | 6e 61 6d 65 20 77 69 6c | GF file|name wil|
|00002190| 6c 20 69 6e 63 6c 75 64 | 65 20 74 68 65 20 6e 75 |l includ|e the nu|
|000021a0| 6d 62 65 72 0a 25 20 20 | 20 7b 5c 74 74 20 33 32 |mber.% | {\tt 32|
|000021b0| 39 7d 2e 0a 25 20 7c 70 | 72 6f 6f 66 69 6e 67 7c |9}..% |p|roofing||
|000021c0| 3a 20 73 61 79 73 20 77 | 68 65 74 68 65 72 20 74 |: says w|hether t|
|000021d0| 6f 20 70 75 74 20 61 64 | 64 69 74 69 6f 6e 61 6c |o put ad|ditional|
|000021e0| 20 73 70 65 63 69 61 6c | 73 20 69 6e 20 74 68 65 | special|s in the|
|000021f0| 20 47 46 20 66 69 6c 65 | 20 66 6f 72 0a 25 20 20 | GF file| for.% |
|00002200| 20 75 73 65 20 69 6e 20 | 6d 61 6b 69 6e 67 20 70 | use in |making p|
|00002210| 72 6f 6f 66 73 68 65 65 | 74 73 20 76 69 61 2c 20 |roofshee|ts via, |
|00002220| 65 2e 67 2e 2c 20 74 68 | 65 20 75 74 69 6c 69 74 |e.g., th|e utilit|
|00002230| 79 20 70 72 6f 67 72 61 | 6d 20 7b 5c 74 74 0a 25 |y progra|m {\tt.%|
|00002240| 20 20 20 47 46 74 6f 44 | 56 49 7d 20 28 70 61 67 | GFtoD|VI} (pag|
|00002250| 65 20 33 32 33 2d 2d 34 | 29 2e 0a 25 20 7c 74 72 |e 323--4|)..% |tr|
|00002260| 61 63 69 6e 67 74 69 74 | 6c 65 73 7c 3a 20 69 66 |acingtit|les|: if|
|00002270| 20 6e 6f 6e 7a 65 72 6f | 2c 20 73 74 72 69 6e 67 | nonzero|, string|
|00002280| 73 20 74 68 61 74 20 61 | 70 70 65 61 72 20 61 73 |s that a|ppear as|
|00002290| 20 5c 4d 46 5c 20 73 74 | 61 74 65 6d 65 6e 74 73 | \MF\ st|atements|
|000022a0| 0a 25 20 20 20 61 72 65 | 20 74 79 70 65 64 20 6f |.% are| typed o|
|000022b0| 6e 20 74 68 65 20 74 65 | 72 6d 69 6e 61 6c 20 28 |n the te|rminal (|
|000022c0| 70 61 67 65 20 31 38 37 | 29 2e 0a 25 20 4e 65 65 |page 187|)..% Nee|
|000022d0| 6e 69 65 20 42 69 6c 6c | 61 77 61 6c 61 27 73 20 |nie Bill|awala's |
|000022e0| 61 72 74 69 63 6c 65 20 | 69 6e 20 74 68 65 20 41 |article |in the A|
|000022f0| 70 72 69 6c 20 31 39 38 | 37 20 69 73 73 75 65 20 |pril 198|7 issue |
|00002300| 6f 66 20 7b 5c 73 6c 20 | 54 55 47 62 6f 61 74 7d |of {\sl |TUGboat}|
|00002310| 0a 25 20 64 65 73 63 72 | 69 62 65 73 20 68 6f 77 |.% descr|ibes how|
|00002320| 20 74 6f 20 74 65 73 74 | 20 79 6f 75 72 20 70 72 | to test| your pr|
|00002330| 69 6e 74 65 72 20 66 6f | 72 20 74 68 65 20 62 65 |inter fo|r the be|
|00002340| 73 74 20 73 65 74 20 6f | 66 20 76 61 6c 75 65 73 |st set o|f values|
|00002350| 20 66 6f 72 20 74 68 65 | 0a 25 20 6d 61 67 69 63 | for the|.% magic|
|00002360| 20 6e 75 6d 62 65 72 73 | 20 61 62 6f 76 65 2e 20 | numbers| above. |
|00002370| 20 48 65 72 65 20 61 72 | 65 20 73 6f 6d 65 20 62 | Here ar|e some b|
|00002380| 72 69 65 66 20 63 6f 6d | 6d 65 6e 74 73 20 6f 6e |rief com|ments on|
|00002390| 20 74 68 65 20 73 75 62 | 6a 65 63 74 2c 0a 25 20 | the sub|ject,.% |
|000023a0| 63 6f 75 72 74 65 73 79 | 20 6f 66 20 52 6f 63 6b |courtesy| of Rock|
|000023b0| 79 20 42 65 72 6e 73 74 | 65 69 6e 2c 20 61 67 61 |y Bernst|ein, aga|
|000023c0| 69 6e 20 65 64 69 74 65 | 64 20 62 79 20 4b 61 72 |in edite|d by Kar|
|000023d0| 6c 3a 0a 25 20 46 6f 72 | 20 6d 65 64 69 75 6d 2d |l:.% For| medium-|
|000023e0| 74 6f 2d 6c 6f 77 20 72 | 65 73 6f 6c 75 74 69 6f |to-low r|esolutio|
|000023f0| 6e 20 64 65 76 69 63 65 | 73 2c 20 79 6f 75 20 63 |n device|s, you c|
|00002400| 61 6e 20 66 69 72 73 74 | 20 73 65 74 20 74 68 65 |an first| set the|
|00002410| 20 7c 62 6c 61 63 6b 65 | 72 7c 0a 25 20 61 6e 64 | |blacke|r|.% and|
|00002420| 20 7c 6f 5f 63 6f 72 72 | 65 63 74 69 6f 6e 7c 20 | |o_corr|ection| |
|00002430| 74 6f 7e 30 20 61 6e 64 | 20 64 65 63 69 64 65 20 |to~0 and| decide |
|00002440| 6f 6e 20 61 20 7c 66 69 | 6c 6c 69 6e 7c 20 76 61 |on a |fi|llin| va|
|00002450| 6c 75 65 20 62 79 20 6c | 6f 6f 6b 69 6e 67 20 61 |lue by l|ooking a|
|00002460| 74 0a 25 20 74 68 65 20 | 64 69 61 67 6f 6e 61 6c |t.% the |diagonal|
|00002470| 20 6f 66 20 61 20 6c 6f | 77 65 72 63 61 73 65 20 | of a lo|wercase |
|00002480| 60 7a 27 20 69 6e 20 7b | 5c 74 74 20 63 6d 74 74 |`z' in {|\tt cmtt|
|00002490| 31 30 7d 2c 20 6f 72 20 | 76 61 72 69 6f 75 73 0a |10}, or |various.|
|000024a0| 25 20 6c 69 6e 65 73 20 | 69 6e 20 4c 61 54 65 58 |% lines |in LaTeX|
|000024b0| 27 73 20 6c 69 6e 65 31 | 30 20 66 6f 6e 74 2e 20 |'s line1|0 font. |
|000024c0| 54 68 65 20 64 69 61 67 | 6f 6e 61 6c 20 73 68 6f |The diag|onal sho|
|000024d0| 75 6c 64 20 62 65 20 74 | 68 65 20 73 61 6d 65 0a |uld be t|he same.|
|000024e0| 25 20 74 68 69 63 6b 6e | 65 73 73 20 61 73 20 74 |% thickn|ess as t|
|000024f0| 68 65 20 68 6f 72 69 7a | 6f 6e 74 61 6c 20 62 61 |he horiz|ontal ba|
|00002500| 72 73 20 6f 66 20 74 68 | 65 20 60 7a 27 2e 20 54 |rs of th|e `z'. T|
|00002510| 68 65 6e 20 49 20 64 65 | 63 69 64 65 20 6f 6e 20 |hen I de|cide on |
|00002520| 74 68 65 0a 25 20 7c 62 | 6c 61 63 6b 65 72 7c 20 |the.% |b|lacker| |
|00002530| 76 61 6c 75 65 2c 20 67 | 65 6e 65 72 61 6c 6c 79 |value, g|enerally|
|00002540| 20 62 79 20 63 68 65 63 | 6b 69 6e 67 20 74 68 65 | by chec|king the|
|00002550| 20 73 6d 61 6c 6c 65 72 | 20 66 6f 6e 74 73 20 66 | smaller| fonts f|
|00002560| 6f 72 20 74 6f 6f 20 6d | 75 63 68 0a 25 20 66 69 |or too m|uch.% fi|
|00002570| 6c 6c 69 6e 67 20 69 6e | 2e 20 20 46 69 6e 61 6c |lling in|. Final|
|00002580| 6c 79 2c 20 79 6f 75 20 | 63 61 6e 20 73 65 74 20 |ly, you |can set |
|00002590| 74 68 65 20 7c 6f 5f 63 | 6f 72 72 65 63 74 69 6f |the |o_c|orrectio|
|000025a0| 6e 7c 20 75 73 69 6e 67 | 20 74 68 65 0a 25 20 67 |n| using| the.% g|
|000025b0| 75 69 64 65 6c 69 6e 65 | 73 20 73 75 67 67 65 73 |uideline|s sugges|
|000025c0| 74 65 64 20 61 62 6f 76 | 65 2e 0a 25 20 49 64 65 |ted abov|e..% Ide|
|000025d0| 6e 74 69 66 79 20 6f 75 | 72 73 65 6c 76 65 73 20 |ntify ou|rselves |
|000025e0| 69 6e 20 74 68 65 20 66 | 6f 72 6d 61 74 20 66 69 |in the f|ormat fi|
|000025f0| 6c 65 2e 0a 62 61 73 65 | 5f 76 65 72 73 69 6f 6e |le..base|_version|
|00002600| 20 3a 3d 20 62 61 73 65 | 5f 76 65 72 73 69 6f 6e | := base|_version|
|00002610| 20 26 20 22 2f 6d 6f 64 | 65 73 20 32 2e 30 22 3b | & "/mod|es 2.0";|
|00002620| 0a 25 20 48 65 72 65 20 | 61 72 65 20 75 73 65 66 |.% Here |are usef|
|00002630| 75 6c 20 6d 61 63 72 6f | 73 20 28 61 6c 73 6f 20 |ul macro|s (also |
|00002640| 63 61 6c 6c 65 64 20 64 | 65 66 69 6e 69 74 69 6f |called d|efinitio|
|00002650| 6e 73 29 20 77 65 20 75 | 73 65 20 74 68 72 6f 75 |ns) we u|se throu|
|00002660| 67 68 6f 75 74 2e 0a 25 | 20 46 69 72 73 74 2c 20 |ghout..%| First, |
|00002670| 73 6f 6d 65 20 63 6f 6d | 6d 65 6e 74 73 20 61 62 |some com|ments ab|
|00002680| 6f 75 74 20 68 6f 77 20 | 74 68 65 20 7c 6d 6f 64 |out how |the |mod|
|00002690| 65 5f 64 65 66 73 7c 20 | 61 72 65 20 63 6f 6e 73 |e_defs| |are cons|
|000026a0| 74 72 75 63 74 65 64 20 | 28 66 72 6f 6d 0a 25 20 |tructed |(from.% |
|000026b0| 7b 5c 74 74 20 72 6f 63 | 6b 79 40 70 61 6e 69 78 |{\tt roc|ky@panix|
|000026c0| 2e 63 6f 6d 7d 29 2e 20 | 20 49 6e 20 74 68 65 20 |.com}). | In the |
|000026d0| 70 61 73 74 2c 20 7c 6d | 6f 64 65 5f 64 65 66 73 |past, |m|ode_defs|
|000026e0| 7c 20 75 6e 63 6f 6e 64 | 69 74 69 6f 6e 61 6c 6c || uncond|itionall|
|000026f0| 79 0a 25 20 61 73 73 69 | 67 6e 65 64 20 61 20 76 |y.% assi|gned a v|
|00002700| 61 6c 75 65 20 74 6f 20 | 74 68 65 20 76 61 72 69 |alue to |the vari|
|00002710| 6f 75 73 20 6d 6f 64 65 | 2d 64 65 70 65 6e 64 65 |ous mode|-depende|
|00002720| 6e 74 20 70 61 72 61 6d | 65 74 65 72 73 2e 20 46 |nt param|eters. F|
|00002730| 6f 72 0a 25 20 65 78 61 | 6d 70 6c 65 2c 20 74 68 |or.% exa|mple, th|
|00002740| 65 79 20 63 6f 6e 74 61 | 69 6e 65 64 20 61 6e 20 |ey conta|ined an |
|00002750| 61 73 73 69 67 6e 6d 65 | 6e 74 20 7c 66 6f 6e 74 |assignme|nt |font|
|00002760| 6d 61 6b 69 6e 67 3a 3d | 31 7c 2c 20 77 68 69 63 |making:=|1|, whic|
|00002770| 68 20 74 65 6c 6c 73 0a | 25 20 5c 4d 46 5c 20 74 |h tells.|% \MF\ t|
|00002780| 6f 20 77 72 69 74 65 20 | 61 20 54 46 4d 20 66 69 |o write |a TFM fi|
|00002790| 6c 65 2e 0a 25 20 42 75 | 74 20 73 75 70 70 6f 73 |le..% Bu|t suppos|
|000027a0| 65 20 79 6f 75 20 77 61 | 6e 74 20 74 6f 20 67 65 |e you wa|nt to ge|
|000027b0| 6e 65 72 61 74 65 20 61 | 20 66 6f 6e 74 20 75 73 |nerate a| font us|
|000027c0| 69 6e 67 20 61 6c 6c 20 | 6f 66 20 74 68 65 20 73 |ing all |of the s|
|000027d0| 65 74 75 70 20 66 6f 72 | 0a 25 20 73 6f 6d 65 20 |etup for|.% some |
|000027e0| 6d 6f 64 65 20 7c 6d 7c | 2c 20 62 75 74 20 64 6f |mode |m||, but do|
|000027f0| 20 6e 6f 74 20 77 61 6e | 74 20 74 6f 20 67 65 6e | not wan|t to gen|
|00002800| 65 72 61 74 65 20 61 20 | 54 46 4d 3f 20 4f 6e 65 |erate a |TFM? One|
|00002810| 20 63 6f 75 6c 64 20 63 | 72 65 61 74 65 0a 25 20 | could c|reate.% |
|00002820| 61 6e 6f 74 68 65 72 20 | 6d 6f 64 65 20 74 68 61 |another |mode tha|
|00002830| 74 20 64 6f 65 73 6e 27 | 74 20 68 61 76 65 20 74 |t doesn'|t have t|
|00002840| 68 65 20 61 73 73 69 67 | 6e 6d 65 6e 74 2c 20 62 |he assig|nment, b|
|00002850| 75 74 20 74 68 69 73 20 | 73 65 65 6d 73 20 61 20 |ut this |seems a |
|00002860| 62 69 74 0a 25 20 77 61 | 73 74 65 66 75 6c 20 73 |bit.% wa|steful s|
|00002870| 69 6e 63 65 20 74 68 65 | 20 72 65 73 74 20 6f 66 |ince the| rest of|
|00002880| 20 74 68 65 20 63 6f 64 | 65 20 69 6e 20 74 68 65 | the cod|e in the|
|00002890| 20 6d 6f 64 65 20 77 6f | 75 6c 64 20 62 65 20 64 | mode wo|uld be d|
|000028a0| 75 70 6c 69 63 61 74 65 | 64 2e 0a 25 20 46 75 72 |uplicate|d..% Fur|
|000028b0| 74 68 65 72 6d 6f 72 65 | 2c 20 67 69 76 65 6e 20 |thermore|, given |
|000028c0| 74 68 65 20 77 61 79 20 | 74 68 65 20 6d 6f 64 65 |the way |the mode|
|000028d0| 20 64 65 66 69 6e 69 74 | 69 6f 6e 73 20 77 65 72 | definit|ions wer|
|000028e0| 65 20 77 72 69 74 74 65 | 6e 2c 20 69 74 20 77 61 |e writte|n, it wa|
|000028f0| 73 0a 25 20 6e 6f 74 20 | 70 6f 73 73 69 62 6c 65 |s.% not |possible|
|00002900| 20 74 6f 20 63 68 61 6e | 67 65 20 74 68 65 20 6d | to chan|ge the m|
|00002910| 6f 64 65 20 70 61 72 61 | 6d 65 74 65 72 73 2e 20 |ode para|meters. |
|00002920| 20 54 6f 20 73 65 65 20 | 77 68 79 2c 20 49 20 72 | To see |why, I r|
|00002930| 65 76 69 65 77 20 68 6f | 77 0a 25 20 61 20 5c 4d |eview ho|w.% a \M|
|00002940| 46 5c 20 72 75 6e 20 74 | 79 70 69 63 61 6c 6c 79 |F\ run t|ypically|
|00002950| 20 77 6f 72 6b 73 2e 0a | 25 20 46 69 72 73 74 2c | works..|% First,|
|00002960| 20 5c 4d 46 5c 20 69 73 | 20 69 6e 76 6f 6b 65 64 | \MF\ is| invoked|
|00002970| 20 77 69 74 68 20 73 6f | 6d 65 20 62 61 73 65 20 | with so|me base |
|00002980| 66 69 6c 65 20 74 6f 20 | 6c 6f 61 64 2e 20 20 54 |file to |load. T|
|00002990| 68 65 6e 20 79 6f 75 20 | 6d 69 67 68 74 0a 25 20 |hen you |might.% |
|000029a0| 77 61 6e 74 20 67 69 76 | 65 20 61 64 64 69 74 69 |want giv|e additi|
|000029b0| 6f 6e 61 6c 20 69 6e 73 | 74 72 75 63 74 69 6f 6e |onal ins|truction|
|000029c0| 73 2c 20 73 75 63 68 20 | 61 73 20 7c 73 63 72 6f |s, such |as |scro|
|000029d0| 6c 6c 6d 6f 64 65 7c 2c | 20 6f 72 20 7c 6d 6f 64 |llmode|,| or |mod|
|000029e0| 65 3a 3d 63 78 7c 2e 0a | 25 20 4e 65 78 74 2c 20 |e:=cx|..|% Next, |
|000029f0| 79 6f 75 20 69 6e 70 75 | 74 20 61 20 70 61 72 61 |you inpu|t a para|
|00002a00| 6d 65 74 65 72 20 66 69 | 6c 65 2c 20 73 61 79 20 |meter fi|le, say |
|00002a10| 7b 5c 74 74 20 63 6d 72 | 31 30 7d 2e 20 20 54 68 |{\tt cmr|10}. Th|
|00002a20| 65 20 70 61 72 61 6d 65 | 74 65 72 20 66 69 6c 65 |e parame|ter file|
|00002a30| 0a 25 20 63 61 6c 6c 73 | 20 61 20 64 72 69 76 65 |.% calls| a drive|
|00002a40| 72 20 66 69 6c 65 2c 20 | 73 75 63 68 20 61 73 20 |r file, |such as |
|00002a50| 7b 5c 74 74 20 72 6f 6d | 61 6e 7d 2c 20 77 69 74 |{\tt rom|an}, wit|
|00002a60| 68 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 20 7c 67 |h the co|mmand |g|
|00002a70| 65 6e 65 72 61 74 65 0a | 25 20 72 6f 6d 61 6e 7c |enerate.|% roman||
|00002a80| 2e 20 20 46 69 6e 61 6c | 6c 79 2c 20 74 68 65 20 |. Final|ly, the |
|00002a90| 64 72 69 76 65 72 20 66 | 69 6e 69 73 68 65 64 20 |driver f|inished |
|00002aa0| 62 79 20 73 61 79 69 6e | 67 20 7c 62 79 65 7c 20 |by sayin|g |bye| |
|00002ab0| 6f 72 20 7c 65 6e 64 7c | 2e 20 20 54 68 75 73 2c |or |end||. Thus,|
|00002ac0| 0a 25 20 61 6e 79 20 61 | 64 64 69 74 69 6f 6e 61 |.% any a|dditiona|
|00002ad0| 6c 20 63 6f 6d 6d 61 6e | 64 73 20 79 6f 75 20 67 |l comman|ds you g|
|00002ae0| 69 76 65 20 61 66 74 65 | 72 20 74 68 65 20 69 6e |ive afte|r the in|
|00002af0| 70 75 74 20 6f 66 20 74 | 68 65 20 70 61 72 61 6d |put of t|he param|
|00002b00| 65 74 65 72 20 66 69 6c | 65 0a 25 20 61 72 65 20 |eter fil|e.% are |
|00002b10| 69 67 6e 6f 72 65 64 2e | 0a 25 20 55 73 75 61 6c |ignored.|.% Usual|
|00002b20| 6c 79 2c 20 6f 6e 65 20 | 6f 66 20 74 68 65 20 66 |ly, one |of the f|
|00002b30| 69 72 73 74 20 74 68 69 | 6e 67 73 20 61 20 64 72 |irst thi|ngs a dr|
|00002b40| 69 76 65 72 20 66 69 6c | 65 20 64 6f 65 73 20 69 |iver fil|e does i|
|00002b50| 73 20 74 6f 20 63 61 6c | 6c 0a 25 20 7c 6d 6f 64 |s to cal|l.% |mod|
|00002b60| 65 5f 73 65 74 75 70 7c | 2e 20 49 74 20 69 73 20 |e_setup||. It is |
|00002b70| 68 65 72 65 20 74 68 61 | 74 20 74 68 65 20 6d 6f |here tha|t the mo|
|00002b80| 64 65 20 70 61 72 61 6d | 65 74 65 72 73 20 61 72 |de param|eters ar|
|00002b90| 65 20 73 65 74 2e 20 20 | 28 49 6e 20 6f 75 72 0a |e set. |(In our.|
|00002ba0| 25 20 68 79 70 6f 74 68 | 65 74 69 63 61 6c 20 6d |% hypoth|etical m|
|00002bb0| 6f 64 65 2c 20 69 74 20 | 77 6f 75 6c 64 20 62 65 |ode, it |would be|
|00002bc0| 20 68 65 72 65 20 74 68 | 61 74 20 7c 66 6f 6e 74 | here th|at |font|
|00002bd0| 6d 61 6b 69 6e 67 7c 20 | 69 73 20 61 73 73 69 67 |making| |is assig|
|00002be0| 6e 65 64 2e 29 0a 25 20 | 54 6f 20 61 6c 6c 6f 77 |ned.).% |To allow|
|00002bf0| 20 61 20 66 6c 65 78 69 | 62 6c 65 20 73 65 74 74 | a flexi|ble sett|
|00002c00| 69 6e 67 20 6f 66 20 7c | 66 6f 6e 74 6d 61 6b 69 |ing of ||fontmaki|
|00002c10| 6e 67 7c 2c 20 77 65 20 | 63 61 6e 20 6d 61 6b 65 |ng|, we |can make|
|00002c20| 20 61 20 73 69 6d 70 6c | 65 0a 25 20 63 68 61 6e | a simpl|e.% chan|
|00002c30| 67 65 3a 20 69 6e 20 74 | 68 65 20 7c 6d 6f 64 65 |ge: in t|he |mode|
|00002c40| 5f 64 65 66 7c 2c 20 66 | 69 72 73 74 20 74 65 73 |_def|, f|irst tes|
|00002c50| 74 20 74 6f 20 73 65 65 | 20 69 66 20 61 20 76 61 |t to see| if a va|
|00002c60| 6c 75 65 20 68 61 73 20 | 62 65 65 6e 0a 25 20 64 |lue has |been.% d|
|00002c70| 65 66 69 6e 65 64 20 70 | 72 69 6f 72 20 61 6e 64 |efined p|rior and|
|00002c80| 20 6f 6e 6c 79 20 6d 61 | 6b 65 20 74 68 65 20 61 | only ma|ke the a|
|00002c90| 73 73 69 67 6e 6d 65 6e | 74 20 69 66 20 6e 6f 74 |ssignmen|t if not|
|00002ca0| 2e 20 54 68 61 74 20 69 | 73 3a 0a 25 20 7c 69 66 |. That i|s:.% |if|
|00002cb0| 20 75 6e 6b 6e 6f 77 6e | 20 66 6f 6e 74 6d 61 6b | unknown| fontmak|
|00002cc0| 69 6e 67 3a 20 66 6f 6e | 74 6d 61 6b 69 6e 67 20 |ing: fon|tmaking |
|00002cd0| 3a 3d 20 31 3b 20 66 69 | 7c 2e 0a 25 20 41 6c 61 |:= 1; fi||..% Ala|
|00002ce0| 73 2c 20 74 68 69 73 20 | 64 6f 65 73 6e 27 74 20 |s, this |doesn't |
|00002cf0| 77 6f 72 6b 2e 20 20 50 | 72 69 6d 69 74 69 76 65 |work. P|rimitive|
|00002d00| 73 2c 20 6c 69 6b 65 20 | 7c 66 6f 6e 74 6d 61 6b |s, like ||fontmak|
|00002d10| 69 6e 67 7c 2c 20 61 72 | 65 20 61 6c 77 61 79 73 |ing|, ar|e always|
|00002d20| 0a 25 20 7c 6b 6e 6f 77 | 6e 7c 2e 20 20 53 6f 20 |.% |know|n|. So |
|00002d30| 69 6e 73 74 65 61 64 20 | 77 65 20 63 72 65 61 74 |instead |we creat|
|00002d40| 65 20 60 60 67 75 61 72 | 64 27 27 20 76 61 72 69 |e ``guar|d'' vari|
|00002d50| 61 62 6c 65 73 2c 20 73 | 70 65 63 69 66 69 63 61 |ables, s|pecifica|
|00002d60| 6c 6c 79 2c 0a 25 20 7c | 6d 6f 64 65 5f 67 75 61 |lly,.% ||mode_gua|
|00002d70| 72 64 5f 2e 66 6f 6e 74 | 6d 61 6b 69 6e 67 7c 3b |rd_.font|making|;|
|00002d80| 20 77 65 20 73 65 74 20 | 74 68 65 20 67 75 61 72 | we set |the guar|
|00002d90| 64 20 77 68 65 6e 20 77 | 65 20 61 73 73 69 67 6e |d when w|e assign|
|00002da0| 20 74 68 65 0a 25 20 70 | 61 72 61 6d 65 74 65 72 | the.% p|arameter|
|00002db0| 2e 20 20 54 68 65 6e 20 | 77 65 20 74 65 73 74 20 |. Then |we test |
|00002dc0| 77 68 65 74 68 65 72 20 | 74 68 65 20 67 75 61 72 |whether |the guar|
|00002dd0| 64 20 69 73 20 7c 6b 6e | 6f 77 6e 7c 20 62 65 66 |d is |kn|own| bef|
|00002de0| 6f 72 65 20 77 65 0a 25 | 20 61 63 74 75 61 6c 6c |ore we.%| actuall|
|00002df0| 79 20 64 6f 20 61 6e 20 | 61 73 73 69 67 6e 6d 65 |y do an |assignme|
|00002e00| 6e 74 2e 20 20 54 68 69 | 73 20 61 6c 6c 6f 77 73 |nt. Thi|s allows|
|00002e10| 20 6d 6f 72 65 20 66 6c | 65 78 69 62 6c 65 20 64 | more fl|exible d|
|00002e20| 65 66 69 6e 69 74 69 6f | 6e 73 3a 20 79 6f 75 0a |efinitio|ns: you.|
|00002e30| 25 20 63 61 6e 20 73 70 | 65 63 69 66 79 20 73 6f |% can sp|ecify so|
|00002e40| 6d 65 20 6f 66 20 74 68 | 65 20 70 61 72 61 6d 65 |me of th|e parame|
|00002e50| 74 65 72 73 2c 20 61 6e | 64 20 6b 65 65 70 20 74 |ters, an|d keep t|
|00002e60| 68 65 20 64 65 66 61 75 | 6c 74 73 20 66 6f 72 20 |he defau|lts for |
|00002e70| 6f 74 68 65 72 73 2e 0a | 25 20 49 74 20 69 73 20 |others..|% It is |
|00002e80| 61 6c 73 6f 20 70 6f 73 | 73 69 62 6c 65 20 74 6f |also pos|sible to|
|00002e90| 20 77 72 69 74 65 20 61 | 20 70 72 6f 67 72 61 6d | write a| program|
|00002ea0| 20 74 68 61 74 20 63 72 | 65 61 74 65 73 20 61 20 | that cr|eates a |
|00002eb0| 7c 6d 6f 64 65 5f 64 65 | 66 7c 20 6f 6e 0a 25 20 ||mode_de|f| on.% |
|00002ec0| 74 68 65 20 66 6c 79 2e | 20 41 6c 74 68 6f 75 67 |the fly.| Althoug|
|00002ed0| 68 20 75 73 65 66 75 6c | 2c 20 74 68 69 73 20 68 |h useful|, this h|
|00002ee0| 61 73 20 61 20 73 6c 69 | 67 68 74 6c 79 20 64 69 |as a sli|ghtly di|
|00002ef0| 66 66 65 72 65 6e 74 20 | 66 6f 63 75 73 20 74 68 |fferent |focus th|
|00002f00| 61 6e 0a 25 20 73 74 61 | 72 74 69 6e 67 20 77 69 |an.% sta|rting wi|
|00002f10| 74 68 20 61 6e 20 65 78 | 69 73 74 69 6e 67 20 7c |th an ex|isting ||
|00002f20| 6d 6f 64 65 5f 64 65 66 | 7c 20 61 6e 64 20 63 68 |mode_def|| and ch|
|00002f30| 61 6e 67 69 6e 67 20 61 | 20 63 6f 75 70 6c 65 20 |anging a| couple |
|00002f40| 6f 66 0a 25 20 70 61 72 | 61 6d 65 74 65 72 73 2e |of.% par|ameters.|
|00002f50| 20 49 6e 20 70 61 72 74 | 69 63 75 6c 61 72 2c 20 | In part|icular, |
|00002f60| 6f 6e 65 20 73 74 69 6c | 6c 20 68 61 73 20 74 6f |one stil|l has to|
|00002f70| 20 70 65 65 6b 20 69 6e | 73 69 64 65 20 74 68 65 | peek in|side the|
|00002f80| 0a 25 20 66 69 6c 65 20 | 74 6f 20 73 65 65 20 77 |.% file |to see w|
|00002f90| 68 61 74 20 74 68 65 20 | 6f 6c 64 20 76 61 6c 75 |hat the |old valu|
|00002fa0| 65 73 20 77 65 72 65 20 | 61 6e 64 20 73 65 74 20 |es were |and set |
|00002fb0| 74 68 65 6d 20 61 67 61 | 69 6e 20 28 69 6e 20 74 |them aga|in (in t|
|00002fc0| 68 65 0a 25 20 6e 65 77 | 20 63 6f 6e 74 65 78 74 |he.% new| context|
|00002fd0| 29 2e 20 41 6c 73 6f 2c | 20 73 75 63 68 20 6f 6e |). Also,| such on|
|00002fe0| 2d 74 68 65 2d 66 6c 79 | 20 7c 6d 6f 64 65 5f 64 |-the-fly| |mode_d|
|00002ff0| 65 66 7c 20 67 65 6e 65 | 72 61 74 69 6f 6e 20 70 |ef| gene|ration p|
|00003000| 72 6f 67 72 61 6d 73 20 | 61 72 65 0a 25 20 69 6e |rograms |are.% in|
|00003010| 68 65 72 65 6e 74 6c 79 | 20 6c 65 73 73 20 6d 61 |herently| less ma|
|00003020| 63 68 69 6e 65 2d 69 6e | 64 65 70 65 6e 64 65 6e |chine-in|dependen|
|00003030| 74 20 74 68 61 6e 20 61 | 20 73 63 68 65 6d 65 20 |t than a| scheme |
|00003040| 74 68 61 74 20 64 6f 65 | 73 0a 25 20 65 76 65 72 |that doe|s.% ever|
|00003050| 79 74 68 69 6e 67 20 69 | 6e 20 5c 4d 46 5c 20 69 |ything i|n \MF\ i|
|00003060| 74 73 65 6c 66 2e 0a 25 | 20 54 68 65 20 75 70 73 |tself..%| The ups|
|00003070| 68 6f 74 20 6f 66 20 61 | 6c 6c 20 74 68 69 73 20 |hot of a|ll this |
|00003080| 69 73 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |is the f|ollowing|
|00003090| 3a 20 77 65 20 73 61 79 | 2c 20 65 2e 67 2e 2c 0a |: we say|, e.g.,.|
|000030a0| 25 20 7c 6d 6f 64 65 5f | 70 61 72 61 6d 20 28 66 |% |mode_|param (f|
|000030b0| 6f 6e 74 6d 61 6b 69 6e | 67 2c 20 31 29 7c 20 62 |ontmakin|g, 1)| b|
|000030c0| 65 6c 6f 77 2c 20 69 6e | 73 74 65 61 64 20 6f 66 |elow, in|stead of|
|000030d0| 20 75 73 69 6e 67 20 74 | 68 65 20 61 73 73 69 67 | using t|he assig|
|000030e0| 6e 6d 65 6e 74 0a 25 20 | 70 72 69 6d 69 74 69 76 |nment.% |primitiv|
|000030f0| 65 20 64 69 72 65 63 74 | 6c 79 2e 20 20 54 68 65 |e direct|ly. The|
|00003100| 20 6e 61 6d 65 20 28 60 | 60 7c 6d 6f 64 65 5f 70 | name (`|`|mode_p|
|00003110| 61 72 61 6d 7c 27 27 29 | 20 69 73 20 6b 65 70 74 |aram|'')| is kept|
|00003120| 20 73 6f 6d 65 77 68 61 | 74 0a 25 20 73 68 6f 72 | somewha|t.% shor|
|00003130| 74 20 62 65 63 61 75 73 | 65 20 79 6f 75 20 63 61 |t becaus|e you ca|
|00003140| 6e 20 61 6c 73 6f 20 75 | 73 65 20 74 68 69 73 20 |n also u|se this |
|00003150| 74 6f 20 6f 76 65 72 72 | 69 64 65 20 61 20 6d 6f |to overr|ide a mo|
|00003160| 64 65 20 61 73 73 69 67 | 6e 6d 65 6e 74 20 6f 6e |de assig|nment on|
|00003170| 0a 25 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 20 6c |.% the c|ommand l|
|00003180| 69 6e 65 20 6f 72 20 69 | 6e 20 72 65 73 70 6f 6e |ine or i|n respon|
|00003190| 73 65 20 74 6f 20 74 68 | 65 20 7b 5c 74 74 20 2a |se to th|e {\tt *|
|000031a0| 2a 7d 20 70 72 6f 6d 70 | 74 2e 0a 64 65 66 20 6d |*} promp|t..def m|
|000031b0| 6f 64 65 5f 70 61 72 61 | 6d 20 28 73 75 66 66 69 |ode_para|m (suffi|
|000031c0| 78 20 76 29 20 28 65 78 | 70 72 20 65 29 20 3d 0a |x v) (ex|pr e) =.|
|000031d0| 20 20 69 66 20 75 6e 6b | 6e 6f 77 6e 20 6d 6f 64 | if unk|nown mod|
|000031e0| 65 5f 67 75 61 72 64 5f | 2e 76 3a 0a 20 20 20 20 |e_guard_|.v:. |
|000031f0| 76 20 3a 3d 20 65 3b 0a | 20 20 20 20 6d 6f 64 65 |v := e;.| mode|
|00003200| 5f 67 75 61 72 64 5f 2e | 76 20 3a 3d 20 31 3b 0a |_guard_.|v := 1;.|
|00003210| 65 6e 64 64 65 66 3b 0a | 25 20 54 68 69 73 20 6d |enddef;.|% This m|
|00003220| 61 63 72 6f 20 69 73 20 | 69 6e 76 6f 6b 65 64 20 |acro is |invoked |
|00003230| 62 79 20 61 6c 6c 20 74 | 68 65 20 6d 6f 64 65 73 |by all t|he modes|
|00003240| 2c 20 61 66 74 65 72 20 | 7c 70 69 78 65 6c 73 5f |, after ||pixels_|
|00003250| 70 65 72 5f 69 6e 63 68 | 7c 0a 25 20 68 61 73 20 |per_inch||.% has |
|00003260| 62 65 65 6e 20 64 65 66 | 69 6e 65 64 2c 20 74 68 |been def|ined, th|
|00003270| 75 73 20 73 61 76 69 6e | 67 20 73 6f 6d 65 20 73 |us savin|g some s|
|00003280| 70 61 63 65 20 61 6e 64 | 20 74 69 6d 65 2e 0a 64 |pace and| time..d|
|00003290| 65 66 20 6d 6f 64 65 5f | 63 6f 6d 6d 6f 6e 5f 73 |ef mode_|common_s|
|000032a0| 65 74 75 70 5f 20 3d 0a | 20 20 6d 6f 64 65 5f 70 |etup_ =.| mode_p|
|000032b0| 61 72 61 6d 20 28 70 72 | 6f 6f 66 69 6e 67 2c 20 |aram (pr|oofing, |
|000032c0| 30 29 3b 0a 20 20 6d 6f | 64 65 5f 70 61 72 61 6d |0);. mo|de_param|
|000032d0| 20 28 66 6f 6e 74 6d 61 | 6b 69 6e 67 2c 20 31 29 | (fontma|king, 1)|
|000032e0| 3b 0a 20 20 6d 6f 64 65 | 5f 70 61 72 61 6d 20 28 |;. mode|_param (|
|000032f0| 74 72 61 63 69 6e 67 74 | 69 74 6c 65 73 2c 20 69 |tracingt|itles, i|
|00003300| 66 20 70 69 78 65 6c 73 | 5f 70 65 72 5f 69 6e 63 |f pixels|_per_inc|
|00003310| 68 20 3e 20 37 30 30 3a | 20 31 20 65 6c 73 65 3a |h > 700:| 1 else:|
|00003320| 20 30 20 66 69 29 3b 0a | 65 6e 64 64 65 66 3b 0a | 0 fi);.|enddef;.|
|00003330| 25 20 49 6e 20 61 20 73 | 69 6d 69 6c 61 72 20 73 |% In a s|imilar s|
|00003340| 70 69 72 69 74 2c 20 68 | 65 72 65 20 61 72 65 20 |pirit, h|ere are |
|00003350| 64 65 66 69 6e 69 74 69 | 6f 6e 73 20 74 6f 20 63 |definiti|ons to c|
|00003360| 68 61 6e 67 65 20 74 6f | 20 60 60 6c 61 6e 64 73 |hange to| ``lands|
|00003370| 63 61 70 65 27 27 0a 25 | 20 6d 6f 64 65 2e 20 20 |cape''.%| mode. |
|00003380| 59 6f 75 20 6a 75 73 74 | 20 73 61 79 20 7b 5c 74 |You just| say {\t|
|00003390| 74 20 6d 6f 64 65 20 3a | 3d 20 77 68 61 74 65 76 |t mode :|= whatev|
|000033a0| 65 72 3b 20 6c 61 6e 64 | 73 63 61 70 65 3b 20 2e |er; land|scape; .|
|000033b0| 2e 2e 7d 2c 20 61 6e 64 | 20 77 68 65 6e 0a 25 20 |..}, and| when.% |
|000033c0| 7c 6d 6f 64 65 5f 73 65 | 74 75 70 7c 20 69 73 20 ||mode_se|tup| is |
|000033d0| 65 78 65 63 75 74 65 64 | 2c 20 74 68 65 20 7c 61 |executed|, the |a|
|000033e0| 73 70 65 63 74 5f 72 61 | 74 69 6f 7c 20 77 69 6c |spect_ra|tio| wil|
|000033f0| 6c 20 62 65 20 69 6e 76 | 65 72 74 65 64 2c 20 61 |l be inv|erted, a|
|00003400| 6e 64 0a 25 20 7c 70 69 | 78 65 6c 73 5f 70 65 72 |nd.% |pi|xels_per|
|00003410| 5f 69 6e 63 68 7c 20 63 | 68 61 6e 67 65 64 2e 0a |_inch| c|hanged..|
|00003420| 64 65 66 20 6c 61 6e 64 | 73 63 61 70 65 20 3d 0a |def land|scape =.|
|00003430| 20 20 65 78 74 72 61 5f | 73 65 74 75 70 20 3a 3d | extra_|setup :=|
|00003440| 20 65 78 74 72 61 5f 73 | 65 74 75 70 20 26 20 22 | extra_s|etup & "|
|00003450| 6c 61 6e 64 73 63 61 70 | 65 5f 3b 22 0a 65 6e 64 |landscap|e_;".end|
|00003460| 64 65 66 3b 0a 64 65 66 | 20 6c 61 6e 64 73 63 61 |def;.def| landsca|
|00003470| 70 65 5f 20 3d 0a 20 20 | 62 65 67 69 6e 67 72 6f |pe_ =. |begingro|
|00003480| 75 70 0a 20 20 20 20 69 | 6e 74 65 72 69 6d 20 77 |up. i|nterim w|
|00003490| 61 72 6e 69 6e 67 63 68 | 65 63 6b 20 3a 3d 20 30 |arningch|eck := 0|
|000034a0| 3b 0a 20 20 20 20 70 69 | 78 65 6c 73 5f 70 65 72 |;. pi|xels_per|
|000034b0| 5f 69 6e 63 68 20 3a 3d | 20 61 73 70 65 63 74 5f |_inch :=| aspect_|
|000034c0| 72 61 74 69 6f 20 2a 20 | 70 69 78 65 6c 73 5f 70 |ratio * |pixels_p|
|000034d0| 65 72 5f 69 6e 63 68 3b | 0a 20 20 20 20 61 73 70 |er_inch;|. asp|
|000034e0| 65 63 74 5f 72 61 74 69 | 6f 20 3a 3d 20 31 20 2f |ect_rati|o := 1 /|
|000034f0| 20 61 73 70 65 63 74 5f | 72 61 74 69 6f 3b 0a 20 | aspect_|ratio;. |
|00003500| 20 20 20 66 69 78 5f 75 | 6e 69 74 73 3b 20 25 20 | fix_u|nits; % |
|00003510| 54 6f 6f 20 62 61 64 20 | 77 65 20 63 61 6e 27 74 |Too bad |we can't|
|00003520| 20 64 6f 20 74 68 69 73 | 20 61 66 74 65 72 20 61 | do this| after a|
|00003530| 6e 79 20 7c 65 78 74 72 | 61 5f 73 65 74 75 70 7c |ny |extr|a_setup||
|00003540| 2e 0a 20 20 65 6e 64 67 | 72 6f 75 70 0a 65 6e 64 |.. endg|roup.end|
|00003550| 64 65 66 3b 0a 25 20 48 | 65 72 65 20 61 72 65 20 |def;.% H|ere are |
|00003560| 6d 61 63 72 6f 73 20 74 | 6f 20 61 64 64 20 73 70 |macros t|o add sp|
|00003570| 65 63 69 61 6c 73 20 77 | 69 74 68 20 6d 6f 64 65 |ecials w|ith mode|
|00003580| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 74 6f 20 | informa|tion to |
|00003590| 74 68 65 20 47 46 20 66 | 69 6c 65 2e 0a 25 20 53 |the GF f|ile..% S|
|000035a0| 70 65 63 69 66 69 63 61 | 6c 6c 79 2c 20 77 65 20 |pecifica|lly, we |
|000035b0| 61 64 64 20 74 68 65 20 | 7c 70 69 78 65 6c 73 5f |add the ||pixels_|
|000035c0| 70 65 72 5f 69 6e 63 68 | 7c 2c 20 7c 6f 5f 63 6f |per_inch||, |o_co|
|000035d0| 72 72 65 63 74 69 6f 6e | 7c 2c 0a 25 20 7c 61 73 |rrection||,.% |as|
|000035e0| 70 65 63 74 5f 72 61 74 | 69 6f 7c 20 28 69 66 20 |pect_rat|io| (if |
|000035f0| 6e 6f 74 20 31 29 2c 20 | 7c 6d 61 67 7c 2c 20 7c |not 1), ||mag|, ||
|00003600| 66 69 6c 6c 69 6e 7c 2c | 20 61 6e 64 20 7c 6d 6f |fillin|,| and |mo|
|00003610| 64 65 5f 64 65 66 7c 20 | 6e 61 6d 65 2e 20 20 54 |de_def| |name. T|
|00003620| 68 69 73 0a 25 20 69 6e | 66 6f 72 6d 61 74 69 6f |his.% in|formatio|
|00003630| 6e 20 63 61 6e 20 62 65 | 20 75 73 65 64 20 74 6f |n can be| used to|
|00003640| 20 61 75 74 6f 6d 61 74 | 69 63 61 6c 6c 79 20 76 | automat|ically v|
|00003650| 65 72 69 66 79 20 74 68 | 61 74 20 61 20 66 6f 6e |erify th|at a fon|
|00003660| 74 20 66 69 6c 65 20 6e | 61 6d 65 0a 25 20 6d 61 |t file n|ame.% ma|
|00003670| 74 63 68 65 73 20 74 68 | 65 20 73 70 65 63 69 66 |tches th|e specif|
|00003680| 69 63 61 74 69 6f 6e 20 | 77 69 74 68 69 6e 20 74 |ication |within t|
|00003690| 68 65 20 66 69 6c 65 2e | 20 20 46 6f 72 20 65 78 |he file.| For ex|
|000036a0| 61 6d 70 6c 65 2c 20 79 | 6f 75 20 63 6f 75 6c 64 |ample, y|ou could|
|000036b0| 0a 25 20 63 68 65 63 6b | 20 74 68 61 74 20 74 68 |.% check| that th|
|000036c0| 65 20 6e 75 6d 62 65 72 | 20 69 6e 20 74 68 65 20 |e number| in the |
|000036d0| 66 69 6c 65 6e 61 6d 65 | 20 6d 61 74 63 68 65 73 |filename| matches|
|000036e0| 20 7c 6d 61 67 2a 70 69 | 78 65 6c 73 5f 70 65 72 | |mag*pi|xels_per|
|000036f0| 5f 69 6e 63 68 7c 2e 0a | 25 20 4f 72 2c 20 69 66 |_inch|..|% Or, if|
|00003700| 20 74 68 65 20 7c 6d 6f | 64 65 5f 64 65 66 7c 20 | the |mo|de_def| |
|00003710| 6e 61 6d 65 20 69 73 20 | 70 61 72 74 20 6f 66 20 |name is |part of |
|00003720| 74 68 65 20 66 6f 6e 74 | 20 64 69 72 65 63 74 6f |the font| directo|
|00003730| 72 79 20 70 61 74 68 20 | 28 65 2e 67 2e 2c 0a 25 |ry path |(e.g.,.%|
|00003740| 20 79 6f 75 20 70 75 74 | 20 66 6f 6e 74 73 20 69 | you put| fonts i|
|00003750| 6e 20 7b 5c 74 74 20 24 | 5c 6c 64 6f 74 73 24 2f |n {\tt $|\ldots$/|
|00003760| 74 65 78 2f 66 6f 6e 74 | 73 2f 43 61 6e 6f 6e 43 |tex/font|s/CanonC|
|00003770| 58 7d 29 2c 20 74 68 61 | 74 20 61 6c 6c 20 6f 66 |X}), tha|t all of|
|00003780| 20 74 68 65 0a 25 20 62 | 69 74 6d 61 70 20 66 69 | the.% b|itmap fi|
|00003790| 6c 65 73 20 69 6e 20 74 | 68 65 20 64 69 72 65 63 |les in t|he direc|
|000037a0| 74 6f 72 79 20 68 61 76 | 65 20 74 68 65 20 65 78 |tory hav|e the ex|
|000037b0| 70 65 63 74 65 64 20 7c | 6d 6f 64 65 5f 64 65 66 |pected ||mode_def|
|000037c0| 7c 20 6e 61 6d 65 2e 0a | 64 65 66 20 6d 6f 64 65 || name..|def mode|
|000037d0| 5f 73 70 65 63 69 61 6c | 5f 20 28 73 75 66 66 69 |_special|_ (suffi|
|000037e0| 78 20 24 29 20 3d 0a 20 | 20 73 74 72 69 6e 67 20 |x $) =. | string |
|000037f0| 73 2c 20 64 3b 0a 20 20 | 73 20 3a 3d 20 73 74 72 |s, d;. |s := str|
|00003800| 20 24 3b 0a 20 20 64 20 | 3a 3d 20 64 65 63 69 6d | $;. d |:= decim|
|00003810| 61 6c 20 73 63 61 6e 74 | 6f 6b 65 6e 73 20 73 3b |al scant|okens s;|
|00003820| 0a 20 20 73 70 65 63 69 | 61 6c 20 73 20 26 20 22 |. speci|al s & "|
|00003830| 3d 22 20 26 20 64 3b 0a | 65 6e 64 64 65 66 3b 0a |=" & d;.|enddef;.|
|00003840| 64 65 66 20 6d 6f 64 65 | 5f 6f 75 74 70 75 74 5f |def mode|_output_|
|00003850| 73 70 65 63 69 61 6c 73 | 5f 20 3d 0a 20 20 62 65 |specials|_ =. be|
|00003860| 67 69 6e 67 72 6f 75 70 | 0a 20 20 20 20 73 61 76 |gingroup|. sav|
|00003870| 65 20 64 2c 20 73 2c 20 | 70 2c 20 70 5f 70 5f 69 |e d, s, |p, p_p_i|
|00003880| 3b 0a 20 20 20 20 73 74 | 72 69 6e 67 20 70 3b 0a |;. st|ring p;.|
|00003890| 20 20 20 20 69 6e 74 65 | 72 69 6d 20 77 61 72 6e | inte|rim warn|
|000038a0| 69 6e 67 63 68 65 63 6b | 20 3a 3d 20 30 3b 20 25 |ingcheck| := 0; %|
|000038b0| 20 49 6e 20 63 61 73 65 | 20 7c 70 69 78 65 6c 73 | In case| |pixels|
|000038c0| 5f 70 65 72 5f 69 6e 63 | 68 3e 34 30 39 36 7c 2e |_per_inc|h>4096|.|
|000038d0| 0a 20 20 20 20 25 20 57 | 65 20 6e 65 65 64 20 74 |. % W|e need t|
|000038e0| 68 65 20 6f 6c 64 20 7c | 70 69 78 65 6c 73 5f 70 |he old ||pixels_p|
|000038f0| 65 72 5f 69 6e 63 68 7c | 20 74 6f 20 63 6f 6d 70 |er_inch|| to comp|
|00003900| 75 74 65 20 74 68 65 20 | 74 72 75 65 20 64 65 76 |ute the |true dev|
|00003910| 69 63 65 0a 20 20 20 20 | 25 20 72 65 73 6f 6c 75 |ice. |% resolu|
|00003920| 74 69 6f 6e 2e 0a 20 20 | 20 20 70 5f 70 5f 69 20 |tion.. | p_p_i |
|00003930| 3d 20 70 69 78 65 6c 73 | 5f 70 65 72 5f 69 6e 63 |= pixels|_per_inc|
|00003940| 68 20 2f 20 6d 61 67 3b | 0a 20 20 20 20 25 20 42 |h / mag;|. % B|
|00003950| 75 74 20 6e 6f 77 20 77 | 65 20 77 61 6e 74 20 74 |ut now w|e want t|
|00003960| 6f 20 63 68 61 6e 67 65 | 20 7c 70 69 78 65 6c 73 |o change| |pixels|
|00003970| 5f 70 65 72 5f 69 6e 63 | 68 7c 2c 20 73 6f 20 7c |_per_inc|h|, so ||
|00003980| 73 61 76 65 7c 20 74 68 | 65 20 6f 6c 64 20 76 61 |save| th|e old va|
|00003990| 6c 75 65 2e 0a 20 20 20 | 20 73 61 76 65 20 70 69 |lue.. | save pi|
|000039a0| 78 65 6c 73 5f 70 65 72 | 5f 69 6e 63 68 3b 0a 20 |xels_per|_inch;. |
|000039b0| 20 20 20 70 69 78 65 6c | 73 5f 70 65 72 5f 69 6e | pixel|s_per_in|
|000039c0| 63 68 20 3a 3d 20 70 5f | 70 5f 69 3b 0a 20 20 20 |ch := p_|p_i;. |
|000039d0| 20 73 70 65 63 69 61 6c | 20 22 6a 6f 62 6e 61 6d | special| "jobnam|
|000039e0| 65 3d 22 20 26 20 6a 6f | 62 6e 61 6d 65 3b 0a 20 |e=" & jo|bname;. |
|000039f0| 20 20 20 6d 6f 64 65 5f | 73 70 65 63 69 61 6c 5f | mode_|special_|
|00003a00| 20 28 6d 61 67 29 3b 0a | 20 20 20 20 70 20 3a 3d | (mag);.| p :=|
|00003a10| 20 69 66 20 73 74 72 69 | 6e 67 20 6d 6f 64 65 3a | if stri|ng mode:|
|00003a20| 0a 20 20 20 20 20 20 20 | 20 20 20 20 6d 6f 64 65 |. | mode|
|00003a30| 0a 20 20 20 20 20 20 20 | 20 20 65 6c 73 65 3a 0a |. | else:.|
|00003a40| 20 20 20 20 20 20 20 20 | 20 20 20 73 75 62 73 74 | | subst|
|00003a50| 72 69 6e 67 20 28 30 2c | 20 6c 65 6e 67 74 68 20 |ring (0,| length |
|00003a60| 28 6d 6f 64 65 5f 6e 61 | 6d 65 5b 6d 6f 64 65 5d |(mode_na|me[mode]|
|00003a70| 29 20 2d 20 31 29 20 6f | 66 20 6d 6f 64 65 5f 6e |) - 1) o|f mode_n|
|00003a80| 61 6d 65 5b 6d 6f 64 65 | 5d 0a 20 20 20 20 20 20 |ame[mode|]. |
|00003a90| 20 20 20 66 69 3b 0a 20 | 20 20 20 73 70 65 63 69 | fi;. | speci|
|00003aa0| 61 6c 20 22 6d 6f 64 65 | 3d 22 20 26 20 70 3b 0a |al "mode|=" & p;.|
|00003ab0| 20 20 20 20 6d 6f 64 65 | 5f 73 70 65 63 69 61 6c | mode|_special|
|00003ac0| 5f 20 28 70 69 78 65 6c | 73 5f 70 65 72 5f 69 6e |_ (pixel|s_per_in|
|00003ad0| 63 68 29 3b 0a 20 20 20 | 20 69 66 20 61 73 70 65 |ch);. | if aspe|
|00003ae0| 63 74 5f 72 61 74 69 6f | 20 3c 3e 20 31 3a 0a 20 |ct_ratio| <> 1:. |
|00003af0| 20 20 20 20 20 6d 6f 64 | 65 5f 73 70 65 63 69 61 | mod|e_specia|
|00003b00| 6c 5f 20 28 61 73 70 65 | 63 74 5f 72 61 74 69 6f |l_ (aspe|ct_ratio|
|00003b10| 29 3b 0a 20 20 20 20 66 | 69 3b 0a 20 20 20 20 6d |);. f|i;. m|
|00003b20| 6f 64 65 5f 73 70 65 63 | 69 61 6c 5f 20 28 62 6c |ode_spec|ial_ (bl|
|00003b30| 61 63 6b 65 72 29 3b 0a | 20 20 20 20 6d 6f 64 65 |acker);.| mode|
|00003b40| 5f 73 70 65 63 69 61 6c | 5f 20 28 66 69 6c 6c 69 |_special|_ (filli|
|00003b50| 6e 29 3b 0a 20 20 20 20 | 6d 6f 64 65 5f 73 70 65 |n);. |mode_spe|
|00003b60| 63 69 61 6c 5f 20 28 6f | 5f 63 6f 72 72 65 63 74 |cial_ (o|_correct|
|00003b70| 69 6f 6e 29 3b 0a 20 20 | 65 6e 64 67 72 6f 75 70 |ion);. |endgroup|
|00003b80| 0a 65 6e 64 64 65 66 3b | 0a 25 20 48 65 72 65 20 |.enddef;|.% Here |
|00003b90| 61 72 65 20 6d 61 63 72 | 6f 73 20 66 6f 72 20 58 |are macr|os for X|
|00003ba0| 65 72 6f 78 2d 77 6f 72 | 6c 64 20 66 6f 6e 74 20 |erox-wor|ld font |
|00003bb0| 69 6e 66 6f 2c 20 77 68 | 69 63 68 20 63 61 6e 20 |info, wh|ich can |
|00003bc0| 62 65 20 75 73 65 66 75 | 6c 20 65 76 65 6e 0a 25 |be usefu|l even.%|
|00003bd0| 20 69 66 20 79 6f 75 20 | 6e 65 76 65 72 20 75 73 | if you |never us|
|00003be0| 65 20 61 20 58 65 72 6f | 78 20 70 72 69 6e 74 65 |e a Xero|x printe|
|00003bf0| 72 2e 20 20 46 6f 72 20 | 69 6e 73 74 61 6e 63 65 |r. For |instance|
|00003c00| 2c 20 7b 5c 74 74 20 63 | 72 75 64 65 74 79 70 65 |, {\tt c|rudetype|
|00003c10| 7d 20 75 73 65 73 0a 25 | 20 74 68 65 20 7c 63 6f |} uses.%| the |co|
|00003c20| 64 69 6e 67 5f 73 63 68 | 65 6d 65 7c 20 61 6e 64 |ding_sch|eme| and|
|00003c30| 20 69 74 20 69 73 20 6e | 69 63 65 20 74 6f 20 68 | it is n|ice to h|
|00003c40| 61 76 65 20 74 68 65 20 | 66 6f 6e 74 20 66 61 6d |ave the |font fam|
|00003c50| 69 6c 79 20 6f 6e 20 72 | 65 63 6f 72 64 2e 0a 25 |ily on r|ecord..%|
|00003c60| 20 54 68 69 73 20 67 6f | 65 73 20 69 6e 74 6f 20 | This go|es into |
|00003c70| 62 6f 74 68 20 74 68 65 | 20 54 46 4d 20 66 69 6c |both the| TFM fil|
|00003c80| 65 20 28 61 73 20 7c 68 | 65 61 64 65 72 62 79 74 |e (as |h|eaderbyt|
|00003c90| 65 7c 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 29 2c |e| infor|mation),|
|00003ca0| 20 61 6e 64 0a 25 20 69 | 6e 74 6f 20 74 68 65 20 | and.% i|nto the |
|00003cb0| 47 46 20 66 69 6c 65 20 | 28 61 73 20 61 20 7c 73 |GF file |(as a |s|
|00003cc0| 70 65 63 69 61 6c 7c 29 | 2e 0a 25 20 4d 61 6b 65 |pecial|)|..% Make|
|00003cd0| 20 74 68 65 20 73 74 72 | 69 6e 67 20 7c 73 7c 20 | the str|ing |s| |
|00003ce0| 62 65 20 7c 6e 7c 20 62 | 79 74 65 73 20 6c 6f 6e |be |n| b|ytes lon|
|00003cf0| 67 2e 0a 64 65 66 20 42 | 43 50 4c 5f 73 74 72 69 |g..def B|CPL_stri|
|00003d00| 6e 67 20 28 65 78 70 72 | 20 73 2c 20 6e 29 20 3d |ng (expr| s, n) =|
|00003d10| 0a 20 20 66 6f 72 20 6c | 20 3a 3d 20 69 66 20 6c |. for l| := if l|
|00003d20| 65 6e 67 74 68 20 28 73 | 29 20 3e 3d 20 6e 3a 20 |ength (s|) >= n: |
|00003d30| 6e 2d 31 20 65 6c 73 65 | 3a 20 6c 65 6e 67 74 68 |n-1 else|: length|
|00003d40| 20 28 73 29 20 66 69 3a | 20 6c 0a 20 20 20 20 66 | (s) fi:| l. f|
|00003d50| 6f 72 20 6b 20 3a 3d 20 | 31 20 75 70 74 6f 20 6c |or k := |1 upto l|
|00003d60| 3a 20 2c 20 73 75 62 73 | 74 72 69 6e 67 20 28 6b |: , subs|tring (k|
|00003d70| 20 2d 20 31 2c 20 6b 29 | 20 6f 66 20 73 20 65 6e | - 1, k)| of s en|
|00003d80| 64 66 6f 72 0a 20 20 20 | 20 66 6f 72 20 6b 20 3a |dfor. | for k :|
|00003d90| 3d 20 6c 20 2b 20 32 20 | 75 70 74 6f 20 6e 3a 20 |= l + 2 |upto n: |
|00003da0| 2c 20 30 20 65 6e 64 66 | 6f 72 0a 20 20 65 6e 64 |, 0 endf|or. end|
|00003db0| 66 6f 72 0a 65 6e 64 64 | 65 66 3b 0a 25 20 54 68 |for.endd|ef;.% Th|
|00003dc0| 65 20 73 74 72 69 6e 67 | 20 7c 73 7c 20 6e 61 6d |e string| |s| nam|
|00003dd0| 65 73 20 74 68 65 20 65 | 6e 63 6f 64 69 6e 67 20 |es the e|ncoding |
|00003de0| 73 63 68 65 6d 65 2c 20 | 65 2e 67 2e 2c 20 7b 5c |scheme, |e.g., {\|
|00003df0| 74 74 20 54 65 58 20 74 | 65 78 74 7d 2e 0a 64 65 |tt TeX t|ext}..de|
|00003e00| 66 20 63 6f 64 69 6e 67 | 5f 73 63 68 65 6d 65 20 |f coding|_scheme |
|00003e10| 65 78 70 72 20 73 20 3d | 0a 20 20 68 65 61 64 65 |expr s =|. heade|
|00003e20| 72 62 79 74 65 20 39 3a | 20 42 43 50 4c 5f 73 74 |rbyte 9:| BCPL_st|
|00003e30| 72 69 6e 67 20 28 73 2c | 20 34 30 29 3b 0a 20 20 |ring (s,| 40);. |
|00003e40| 73 70 65 63 69 61 6c 20 | 22 63 6f 64 69 6e 67 73 |special |"codings|
|00003e50| 63 68 65 6d 65 3d 22 20 | 26 20 73 0a 65 6e 64 64 |cheme=" |& s.endd|
|00003e60| 65 66 3b 0a 25 20 54 68 | 65 20 73 74 72 69 6e 67 |ef;.% Th|e string|
|00003e70| 20 7c 73 7c 20 6e 61 6d | 65 73 20 74 68 65 20 66 | |s| nam|es the f|
|00003e80| 6f 6e 74 20 66 61 6d 69 | 6c 79 2c 20 65 2e 67 2e |ont fami|ly, e.g.|
|00003e90| 2c 20 7b 5c 74 74 20 43 | 4d 52 7d 2e 0a 64 65 66 |, {\tt C|MR}..def|
|00003ea0| 20 66 6f 6e 74 5f 66 61 | 6d 69 6c 79 20 65 78 70 | font_fa|mily exp|
|00003eb0| 72 20 73 20 3d 0a 20 20 | 68 65 61 64 65 72 62 79 |r s =. |headerby|
|00003ec0| 74 65 20 34 39 3a 20 42 | 43 50 4c 5f 73 74 72 69 |te 49: B|CPL_stri|
|00003ed0| 6e 67 20 28 73 2c 20 32 | 30 29 3b 0a 20 20 73 70 |ng (s, 2|0);. sp|
|00003ee0| 65 63 69 61 6c 20 22 66 | 6f 6e 74 69 64 3d 22 20 |ecial "f|ontid=" |
|00003ef0| 26 20 73 0a 65 6e 64 64 | 65 66 3b 0a 25 20 54 68 |& s.endd|ef;.% Th|
|00003f00| 65 20 69 6e 74 65 67 65 | 72 20 7c 78 7c 20 67 69 |e intege|r |x| gi|
|00003f10| 76 65 73 20 74 68 65 20 | 66 61 6d 69 6c 79 20 6d |ves the |family m|
|00003f20| 65 6d 62 65 72 20 6e 75 | 6d 62 65 72 2c 20 77 68 |ember nu|mber, wh|
|00003f30| 69 63 68 20 73 68 6f 75 | 6c 64 20 62 65 0a 25 20 |ich shou|ld be.% |
|00003f40| 62 65 74 77 65 65 6e 20 | 30 20 61 6e 64 20 32 35 |between |0 and 25|
|00003f50| 35 2e 0a 64 65 66 20 66 | 6f 6e 74 5f 66 61 63 65 |5..def f|ont_face|
|00003f60| 5f 62 79 74 65 20 65 78 | 70 72 20 78 20 3d 0a 20 |_byte ex|pr x =. |
|00003f70| 20 68 65 61 64 65 72 62 | 79 74 65 20 37 32 3a 20 | headerb|yte 72: |
|00003f80| 78 3b 0a 20 20 73 70 65 | 63 69 61 6c 20 22 66 6f |x;. spe|cial "fo|
|00003f90| 6e 74 66 61 63 65 62 79 | 74 65 22 3b 0a 20 20 6e |ntfaceby|te";. n|
|00003fa0| 75 6d 73 70 65 63 69 61 | 6c 20 78 0a 65 6e 64 64 |umspecia|l x.endd|
|00003fb0| 65 66 3b 0a 25 20 53 6f | 20 75 73 65 72 73 20 63 |ef;.% So| users c|
|00003fc0| 61 6e 20 73 61 79 20 7c | 69 66 20 6b 6e 6f 77 6e |an say ||if known|
|00003fd0| 20 58 65 72 6f 78 5f 77 | 6f 72 6c 64 3a 20 24 5c | Xerox_w|orld: $\|
|00003fe0| 6c 64 6f 74 73 24 20 66 | 69 7c 2c 20 70 65 72 20 |ldots$ f|i|, per |
|00003ff0| 74 68 65 20 7b 5c 73 6c | 20 4d 46 62 6f 6f 6b 7d |the {\sl| MFbook}|
|00004000| 2e 0a 58 65 72 6f 78 5f | 77 6f 72 6c 64 20 3a 3d |..Xerox_|world :=|
|00004010| 20 31 3b 0a 25 20 52 65 | 64 65 66 69 6e 65 20 7c | 1;.% Re|define ||
|00004020| 65 6e 64 7c 20 74 6f 20 | 70 75 74 20 74 68 65 20 |end| to |put the |
|00004030| 65 78 74 72 61 20 69 6e | 66 6f 72 6d 61 74 69 6f |extra in|formatio|
|00004040| 6e 20 61 62 6f 76 65 20 | 69 6e 20 74 68 65 20 47 |n above |in the G|
|00004050| 46 20 61 6e 64 20 54 46 | 4d 0a 25 20 66 69 6c 65 |F and TF|M.% file|
|00004060| 73 2e 20 20 54 68 69 73 | 20 63 6f 64 65 20 69 73 |s. This| code is|
|00004070| 20 62 61 73 65 64 20 6f | 6e 20 74 68 61 74 20 6f | based o|n that o|
|00004080| 6e 20 70 61 67 65 20 33 | 32 31 2e 0a 69 6e 6e 65 |n page 3|21..inne|
|00004090| 72 20 65 6e 64 3b 0a 6c | 65 74 20 70 72 69 6d 69 |r end;.l|et primi|
|000040a0| 74 69 76 65 5f 65 6e 64 | 5f 20 3d 20 65 6e 64 3b |tive_end|_ = end;|
|000040b0| 0a 64 65 66 20 65 6e 64 | 20 3d 0a 20 20 69 66 20 |.def end| =. if |
|000040c0| 66 6f 6e 74 6d 61 6b 69 | 6e 67 20 3e 20 30 3a 0a |fontmaki|ng > 0:.|
|000040d0| 20 20 20 20 66 6f 6e 74 | 5f 66 61 6d 69 6c 79 20 | font|_family |
|000040e0| 66 6f 6e 74 5f 69 64 65 | 6e 74 69 66 69 65 72 5f |font_ide|ntifier_|
|000040f0| 3b 0a 20 20 20 20 63 6f | 64 69 6e 67 5f 73 63 68 |;. co|ding_sch|
|00004100| 65 6d 65 20 66 6f 6e 74 | 5f 63 6f 64 69 6e 67 5f |eme font|_coding_|
|00004110| 73 63 68 65 6d 65 5f 3b | 0a 20 20 20 20 66 6f 6e |scheme_;|. fon|
|00004120| 74 5f 66 61 63 65 5f 62 | 79 74 65 20 6d 61 78 20 |t_face_b|yte max |
|00004130| 28 30 2c 20 32 35 34 20 | 2d 20 72 6f 75 6e 64 20 |(0, 254 |- round |
|00004140| 32 64 65 73 69 67 6e 73 | 69 7a 65 29 3b 0a 20 20 |2designs|ize);. |
|00004150| 20 20 6d 6f 64 65 5f 6f | 75 74 70 75 74 5f 73 70 | mode_o|utput_sp|
|00004160| 65 63 69 61 6c 73 5f 3b | 0a 20 20 66 69 3b 0a 20 |ecials_;|. fi;. |
|00004170| 20 70 72 69 6d 69 74 69 | 76 65 5f 65 6e 64 5f 2e | primiti|ve_end_.|
|00004180| 0a 65 6e 64 64 65 66 3b | 0a 25 20 54 68 65 20 7b |.enddef;|.% The {|
|00004190| 5c 73 6c 20 5c 4d 46 20 | 62 6f 6f 6b 7d 20 67 69 |\sl \MF |book} gi|
|000041a0| 76 65 73 20 7c 62 79 65 | 7c 20 74 77 6f 20 64 69 |ves |bye|| two di|
|000041b0| 66 66 65 72 65 6e 74 20 | 64 65 66 69 6e 69 74 69 |fferent |definiti|
|000041c0| 6f 6e 73 20 28 6f 6e 20 | 70 61 67 65 73 20 32 37 |ons (on |pages 27|
|000041d0| 38 0a 25 20 61 6e 64 20 | 33 32 31 29 2e 20 54 68 |8.% and |321). Th|
|000041e0| 65 20 66 69 72 73 74 20 | 69 73 20 75 73 65 64 20 |e first |is used |
|000041f0| 69 6e 20 7b 5c 74 74 20 | 70 6c 61 69 6e 2e 6d 66 |in {\tt |plain.mf|
|00004200| 7d 20 61 6e 64 20 69 73 | 20 6d 65 72 65 6c 79 20 |} and is| merely |
|00004210| 61 20 73 79 6e 6f 79 6e | 79 6d 0a 25 20 66 6f 72 |a synoyn|ym.% for|
|00004220| 20 74 68 65 20 70 72 69 | 6d 69 74 69 76 65 20 7c | the pri|mitive ||
|00004230| 65 6e 64 7c 2e 20 20 54 | 68 65 20 73 65 63 6f 6e |end|. T|he secon|
|00004240| 64 2c 20 77 68 69 63 68 | 20 69 73 20 6e 6f 74 20 |d, which| is not |
|00004250| 70 61 72 74 20 6f 66 20 | 7b 5c 74 74 0a 25 20 70 |part of |{\tt.% p|
|00004260| 6c 61 69 6e 2e 6d 66 7d | 2c 20 69 73 20 73 69 6d |lain.mf}|, is sim|
|00004270| 69 6c 61 72 20 74 6f 20 | 74 68 65 20 63 6f 64 65 |ilar to |the code|
|00004280| 20 67 69 76 65 6e 20 61 | 62 6f 76 65 2e 20 57 65 | given a|bove. We|
|00004290| 20 77 61 6e 74 20 74 68 | 65 20 65 78 74 72 61 0a | want th|e extra.|
|000042a0| 25 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 74 6f |% inform|ation to|
|000042b0| 20 67 65 74 20 69 6e 74 | 6f 20 74 68 65 20 6f 75 | get int|o the ou|
|000042c0| 74 70 75 74 20 66 69 6c | 65 73 20 72 65 67 61 72 |tput fil|es regar|
|000042d0| 64 6c 65 73 73 20 6f 66 | 20 77 68 65 74 68 65 72 |dless of| whether|
|000042e0| 20 74 68 65 0a 25 20 5c | 4d 46 5c 20 73 6f 75 72 | the.% \|MF\ sour|
|000042f0| 63 65 20 75 73 65 64 20 | 7c 65 6e 64 7c 20 6f 72 |ce used ||end| or|
|00004300| 20 7c 62 79 65 7c 2e 20 | 20 54 68 65 20 61 62 6f | |bye|. | The abo|
|00004310| 76 65 20 63 68 61 6e 67 | 65 64 20 7c 65 6e 64 7c |ve chang|ed |end||
|00004320| 3b 20 6e 6f 77 20 77 65 | 20 68 61 76 65 0a 25 20 |; now we| have.% |
|00004330| 74 6f 20 72 65 64 65 66 | 69 6e 65 20 7c 62 79 65 |to redef|ine |bye|
|00004340| 7c 20 61 67 61 69 6e 20 | 28 61 73 20 6f 6e 20 70 || again |(as on p|
|00004350| 61 67 65 20 32 37 38 29 | 2e 0a 6f 75 74 65 72 20 |age 278)|..outer |
|00004360| 65 6e 64 2c 20 70 72 69 | 6d 69 74 69 76 65 5f 65 |end, pri|mitive_e|
|00004370| 6e 64 5f 3b 0a 6c 65 74 | 20 62 79 65 20 3d 20 65 |nd_;.let| bye = e|
|00004380| 6e 64 3b 0a 25 20 48 65 | 72 65 20 61 72 65 20 6d |nd;.% He|re are m|
|00004390| 61 63 72 6f 73 20 74 6f | 20 68 61 6e 64 6c 65 20 |acros to| handle |
|000043a0| 77 72 69 74 65 2d 77 68 | 69 74 65 20 64 65 76 69 |write-wh|ite devi|
|000043b0| 63 65 73 2e 0a 25 20 54 | 68 65 20 62 61 73 69 63 |ces..% T|he basic|
|000043c0| 20 63 6f 72 72 65 63 74 | 69 6f 6e 20 66 6f 72 20 | correct|ion for |
|000043d0| 77 72 69 74 65 2d 77 68 | 69 74 65 20 66 6f 6e 74 |write-wh|ite font|
|000043e0| 73 20 6f 63 63 75 72 73 | 20 69 6e 20 74 68 65 20 |s occurs| in the |
|000043f0| 64 65 66 69 6e 69 74 69 | 6f 6e 20 6f 66 0a 25 20 |definiti|on of.% |
|00004400| 7c 66 6f 6e 74 5f 73 65 | 74 75 70 7c 2e 20 20 54 ||font_se|tup|. T|
|00004410| 68 69 73 20 63 61 6e 20 | 62 65 20 75 73 65 64 20 |his can |be used |
|00004420| 74 6f 20 65 78 74 65 6e | 64 20 6f 72 20 63 68 61 |to exten|d or cha|
|00004430| 6e 67 65 20 74 68 65 20 | 77 72 69 74 65 2d 62 6c |nge the |write-bl|
|00004440| 61 63 6b 0a 25 20 64 65 | 66 69 6e 69 74 69 6f 6e |ack.% de|finition|
|00004450| 20 69 6e 20 43 6f 6d 70 | 75 74 65 72 20 4d 6f 64 | in Comp|uter Mod|
|00004460| 65 72 6e 27 73 20 7b 5c | 74 74 20 63 6d 62 61 73 |ern's {\|tt cmbas|
|00004470| 65 2e 6d 66 7d 20 6f 72 | 20 6f 74 68 65 72 20 62 |e.mf} or| other b|
|00004480| 61 73 65 20 66 69 6c 65 | 73 0a 25 20 62 61 73 65 |ase file|s.% base|
|00004490| 64 20 6f 6e 20 43 4d 2c | 20 73 75 63 68 20 61 73 |d on CM,| such as|
|000044a0| 20 7b 5c 74 74 20 64 78 | 62 61 73 65 2e 6d 66 7d | {\tt dx|base.mf}|
|000044b0| 2e 20 20 54 68 69 73 20 | 68 61 73 20 6e 6f 20 65 |. This |has no e|
|000044c0| 66 66 65 63 74 20 61 74 | 20 31 32 30 30 24 5c 2c |ffect at| 1200$\,|
|000044d0| 24 64 70 69 2e 0a 64 65 | 66 20 6d 6f 64 65 5f 77 |$dpi..de|f mode_w|
|000044e0| 72 69 74 65 5f 77 68 69 | 74 65 5f 73 65 74 75 70 |rite_whi|te_setup|
|000044f0| 5f 20 3d 0a 20 20 62 65 | 67 69 6e 67 72 6f 75 70 |_ =. be|gingroup|
|00004500| 0a 20 20 20 20 6c 65 74 | 20 62 6c 61 63 6b 5f 73 |. let| black_s|
|00004510| 65 74 75 70 20 3d 20 66 | 6f 6e 74 5f 73 65 74 75 |etup = f|ont_setu|
|00004520| 70 3b 0a 20 20 20 20 64 | 65 66 20 66 6f 6e 74 5f |p;. d|ef font_|
|00004530| 73 65 74 75 70 20 3d 0a | 20 20 20 20 20 20 62 6c |setup =.| bl|
|00004540| 61 63 6b 5f 73 65 74 75 | 70 3b 0a 20 20 20 20 20 |ack_setu|p;. |
|00004550| 20 6d 69 6e 5f 56 72 6f | 75 6e 64 3a 3d 6d 61 78 | min_Vro|und:=max|
|00004560| 28 66 69 6e 65 2e 62 72 | 65 61 64 74 68 2c 63 72 |(fine.br|eadth,cr|
|00004570| 69 73 70 2e 62 72 65 61 | 64 74 68 2c 74 69 6e 79 |isp.brea|dth,tiny|
|00004580| 2e 62 72 65 61 64 74 68 | 2c 32 29 3b 0a 20 20 20 |.breadth|,2);. |
|00004590| 20 20 20 69 66 20 6d 69 | 6e 5f 56 72 6f 75 6e 64 | if mi|n_Vround|
|000045a0| 3c 76 72 6f 75 6e 64 20 | 6d 69 6e 5f 56 72 6f 75 |<vround |min_Vrou|
|000045b0| 6e 64 3a 20 6d 69 6e 5f | 56 72 6f 75 6e 64 3a 3d |nd: min_|Vround:=|
|000045c0| 76 72 6f 75 6e 64 20 6d | 69 6e 5f 56 72 6f 75 6e |vround m|in_Vroun|
|000045d0| 64 3b 20 66 69 0a 20 20 | 20 20 20 20 69 66 20 66 |d; fi. | if f|
|000045e0| 6c 61 72 65 3c 76 72 6f | 75 6e 64 20 66 6c 61 72 |lare<vro|und flar|
|000045f0| 65 3a 20 66 6c 61 72 65 | 3a 3d 76 72 6f 75 6e 64 |e: flare|:=vround|
|00004600| 20 66 6c 61 72 65 3b 20 | 66 69 0a 20 20 20 20 20 | flare; |fi. |
|00004610| 20 66 6f 72 73 75 66 66 | 69 78 65 73 20 24 3d 76 | forsuff|ixes $=v|
|00004620| 61 69 72 2c 62 61 72 2c | 73 6c 61 62 2c 63 61 70 |air,bar,|slab,cap|
|00004630| 5f 62 61 72 2c 63 61 70 | 5f 62 61 6e 64 2c 76 61 |_bar,cap|_band,va|
|00004640| 69 72 27 2c 76 73 74 65 | 6d 2c 63 61 70 5f 76 73 |ir',vste|m,cap_vs|
|00004650| 74 65 6d 2c 62 6f 6c 64 | 3a 0a 20 20 20 20 20 20 |tem,bold|:. |
|00004660| 20 20 69 66 20 24 3c 6d | 69 6e 5f 56 72 6f 75 6e | if $<m|in_Vroun|
|00004670| 64 3a 20 24 3a 3d 6d 69 | 6e 5f 56 72 6f 75 6e 64 |d: $:=mi|n_Vround|
|00004680| 3b 20 66 69 20 65 6e 64 | 66 6f 72 0a 20 20 20 20 |; fi end|for. |
|00004690| 20 20 66 6f 72 73 75 66 | 66 69 78 65 73 20 24 3d | forsuf|fixes $=|
|000046a0| 74 68 69 6e 5f 6a 6f 69 | 6e 2c 68 61 69 72 2c 63 |thin_joi|n,hair,c|
|000046b0| 75 72 76 65 2c 66 6c 61 | 72 65 2c 64 6f 74 5f 73 |urve,fla|re,dot_s|
|000046c0| 69 7a 65 2c 63 61 70 5f | 68 61 69 72 2c 63 61 70 |ize,cap_|hair,cap|
|000046d0| 5f 63 75 72 76 65 2c 0a | 20 20 20 20 20 20 20 76 |_curve,.| v|
|000046e0| 61 69 72 2c 62 61 72 2c | 73 6c 61 62 2c 63 61 70 |air,bar,|slab,cap|
|000046f0| 5f 62 61 72 2c 63 61 70 | 5f 62 61 6e 64 2c 73 74 |_bar,cap|_band,st|
|00004700| 65 6d 27 2c 63 61 70 5f | 73 74 65 6d 27 2c 76 61 |em',cap_|stem',va|
|00004710| 69 72 27 2c 66 75 64 67 | 65 64 2e 68 61 69 72 2c |ir',fudg|ed.hair,|
|00004720| 0a 20 20 20 20 20 20 20 | 66 75 64 67 65 64 2e 73 |. |fudged.s|
|00004730| 74 65 6d 2c 66 75 64 67 | 65 64 2e 63 61 70 5f 73 |tem,fudg|ed.cap_s|
|00004740| 74 65 6d 3a 20 24 3a 3d | 6d 61 78 28 24 2c 32 29 |tem: $:=|max($,2)|
|00004750| 3b 20 65 6e 64 66 6f 72 | 0a 20 20 20 20 65 6e 64 |; endfor|. end|
|00004760| 64 65 66 3b 0a 20 20 65 | 6e 64 67 72 6f 75 70 3b |def;. e|ndgroup;|
|00004770| 0a 20 20 25 20 4f 6e 6c | 79 20 64 6f 20 74 68 65 |. % Onl|y do the|
|00004780| 20 61 62 6f 76 65 20 6f | 6e 63 65 2c 20 69 6e 20 | above o|nce, in |
|00004790| 63 61 73 65 20 61 20 66 | 6f 6e 74 20 66 69 6c 65 |case a f|ont file|
|000047a0| 20 28 75 6e 6e 65 63 65 | 73 73 61 72 69 6c 79 29 | (unnece|ssarily)|
|000047b0| 20 63 61 6c 6c 73 0a 20 | 20 25 20 7c 6d 6f 64 65 | calls. | % |mode|
|000047c0| 5f 73 65 74 75 70 7c 20 | 6d 6f 72 65 20 74 68 61 |_setup| |more tha|
|000047d0| 6e 20 6f 6e 63 65 2e 0a | 20 20 6c 65 74 20 6d 6f |n once..| let mo|
|000047e0| 64 65 5f 77 72 69 74 65 | 5f 77 68 69 74 65 5f 73 |de_write|_white_s|
|000047f0| 65 74 75 70 5f 20 3d 20 | 72 65 6c 61 78 0a 65 6e |etup_ = |relax.en|
|00004800| 64 64 65 66 3b 0a 25 20 | 48 65 72 65 20 61 72 65 |ddef;.% |Here are|
|00004810| 20 74 68 65 20 6d 6f 64 | 65 73 2c 20 67 69 76 65 | the mod|es, give|
|00004820| 6e 20 6d 6f 73 74 6c 79 | 20 69 6e 20 61 6c 70 68 |n mostly| in alph|
|00004830| 61 62 65 74 69 63 61 6c | 20 6f 72 64 65 72 2e 0a |abetical| order..|
|00004840| 25 20 46 72 6f 6d 20 7b | 5c 74 74 20 63 75 64 61 |% From {|\tt cuda|
|00004850| 74 40 63 75 2e 77 61 72 | 77 69 63 6b 2e 61 63 2e |t@cu.war|wick.ac.|
|00004860| 75 6b 7d 2e 0a 6d 6f 64 | 65 5f 64 65 66 20 61 67 |uk}..mod|e_def ag|
|00004870| 66 61 66 7a 7a 20 3d 20 | 20 20 20 20 20 20 20 20 |fafzz = | |
|00004880| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 25 20 41 | | % A|
|00004890| 47 46 41 20 34 30 30 50 | 53 0a 20 20 6d 6f 64 65 |GFA 400P|S. mode|
|000048a0| 5f 70 61 72 61 6d 20 28 | 70 69 78 65 6c 73 5f 70 |_param (|pixels_p|
|000048b0| 65 72 5f 69 6e 63 68 2c | 20 34 30 36 29 3b 0a 20 |er_inch,| 406);. |
|000048c0| 20 6d 6f 64 65 5f 70 61 | 72 61 6d 20 28 62 6c 61 | mode_pa|ram (bla|
|000048d0| 63 6b 65 72 2c 20 2e 32 | 29 3b 0a 20 20 6d 6f 64 |cker, .2|);. mod|
|000048e0| 65 5f 70 61 72 61 6d 20 | 28 66 69 6c 6c 69 6e 2c |e_param |(fillin,|
|000048f0| 20 30 29 3b 0a 20 20 6d | 6f 64 65 5f 70 61 72 61 | 0);. m|ode_para|
|00004900| 6d 20 28 6f 5f 63 6f 72 | 72 65 63 74 69 6f 6e 2c |m (o_cor|rection,|
|00004910| 20 2e 36 29 3b 0a 20 20 | 6d 6f 64 65 5f 63 6f 6d | .6);. |mode_com|
|00004920| 6d 6f 6e 5f 73 65 74 75 | 70 5f 3b 0a 65 6e 64 64 |mon_setu|p_;.endd|
|00004930| 65 66 3b 0a 41 67 66 61 | 46 6f 75 72 5a 65 72 6f |ef;.Agfa|FourZero|
|00004940| 5a 65 72 6f 20 3a 3d 20 | 61 67 66 61 66 7a 7a 3b |Zero := |agfafzz;|
|00004950| 0a 25 20 46 72 6f 6d 20 | 7b 5c 74 74 20 72 6f 6b |.% From |{\tt rok|
|00004960| 69 63 6b 69 40 6e 65 6f | 6e 2e 73 74 61 6e 66 6f |icki@neo|n.stanfo|
|00004970| 72 64 2e 65 64 75 7d 2e | 0a 6d 6f 64 65 5f 64 65 |rd.edu}.|.mode_de|
|00004980| 66 20 61 6d 69 67 61 20 | 3d 20 20 20 20 20 20 20 |f amiga |= |
|00004990| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000049a0| 20 25 20 43 6f 6d 6d 6f | 64 6f 72 65 20 41 6d 69 | % Commo|dore Ami|
|000049b0| 67 61 0a 20 20 6d 6f 64 | 65 5f 70 61 72 61 6d 20 |ga. mod|e_param |
|000049c0| 28 70 69 78 65 6c 73 5f | 70 65 72 5f 69 6e 63 68 |(pixels_|per_inch|
|000049d0| 2c 20 31 30 30 29 3b 0a | 20 20 6d 6f 64 65 5f 70 |, 100);.| mode_p|
|000049e0| 61 72 61 6d 20 28 62 6c | 61 63 6b 65 72 2c 20 30 |aram (bl|acker, 0|
|000049f0| 29 3b 0a 20 20 6d 6f 64 | 65 5f 70 61 72 61 6d 20 |);. mod|e_param |
|00004a00| 28 66 69 6c 6c 69 6e 2c | 20 30 29 3b 0a 20 20 6d |(fillin,| 0);. m|
|00004a10| 6f 64 65 5f 70 61 72 61 | 6d 20 28 6f 5f 63 6f 72 |ode_para|m (o_cor|
|00004a20| 72 65 63 74 69 6f 6e 2c | 20 2e 32 29 3b 0a 20 20 |rection,| .2);. |
|00004a30| 6d 6f 64 65 5f 63 6f 6d | 6d 6f 6e 5f 73 65 74 75 |mode_com|mon_setu|
|00004a40| 70 5f 3b 0a 65 6e 64 64 | 65 66 3b 0a 6d 6f 64 65 |p_;.endd|ef;.mode|
|00004a50| 5f 64 65 66 20 61 70 73 | 20 3d 20 20 20 20 20 20 |_def aps| = |
|00004a60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004a70| 20 20 20 20 25 20 41 75 | 74 6f 6c 6f 67 69 63 20 | % Au|tologic |
|00004a80| 41 50 53 2d 4d 69 63 72 | 6f 35 0a 20 20 6d 6f 64 |APS-Micr|o5. mod|
|00004a90| 65 5f 70 61 72 61 6d 20 | 28 70 69 78 65 6c 73 5f |e_param |(pixels_|
|00004aa0| 70 65 72 5f 69 6e 63 68 | 2c 20 37 32 32 2e 39 30 |per_inch|, 722.90|
|00004ab0| 39 29 3b 0a 20 20 6d 6f | 64 65 5f 70 61 72 61 6d |9);. mo|de_param|
|00004ac0| 20 28 62 6c 61 63 6b 65 | 72 2c 20 2e 32 29 3b 0a | (blacke|r, .2);.|
|00004ad0| 20 20 6d 6f 64 65 5f 70 | 61 72 61 6d 20 28 66 69 | mode_p|aram (fi|
|00004ae0| 6c 6c 69 6e 2c 20 2e 32 | 29 3b 0a 20 20 6d 6f 64 |llin, .2|);. mod|
|00004af0| 65 5f 70 61 72 61 6d 20 | 28 6f 5f 63 6f 72 72 65 |e_param |(o_corre|
|00004b00| 63 74 69 6f 6e 2c 20 31 | 29 3b 0a 20 20 6d 6f 64 |ction, 1|);. mod|
|00004b10| 65 5f 63 6f 6d 6d 6f 6e | 5f 73 65 74 75 70 5f 3b |e_common|_setup_;|
|00004b20| 0a 65 6e 64 64 65 66 3b | 0a 25 20 46 72 6f 6d 20 |.enddef;|.% From |
|00004b30| 7b 5c 74 74 20 72 6f 63 | 6b 79 40 70 61 6e 69 78 |{\tt roc|ky@panix|
|00004b40| 2e 63 6f 6d 7d 2e 20 20 | 54 65 73 74 65 64 20 6f |.com}. |Tested o|
|00004b50| 6e 20 74 68 65 20 73 69 | 6e 67 6c 65 20 41 50 53 |n the si|ngle APS|
|00004b60| 2d 36 20 61 74 20 49 42 | 4d 20 52 65 73 65 61 72 |-6 at IB|M Resear|
|00004b70| 63 68 2e 0a 6d 6f 64 65 | 5f 64 65 66 20 61 70 73 |ch..mode|_def aps|
|00004b80| 73 69 78 68 69 20 3d 20 | 20 20 20 20 20 20 20 20 |sixhi = | |
|00004b90| 20 20 20 20 20 20 20 20 | 20 20 20 20 25 20 41 75 | | % Au|
|00004ba0| 74 6f 6c 6f 67 69 63 20 | 41 50 53 2d 4d 69 63 72 |tologic |APS-Micr|
|00004bb0| 6f 36 0a 20 20 6d 6f 64 | 65 5f 70 61 72 61 6d 20 |o6. mod|e_param |
|00004bc0| 28 70 69 78 65 6c 73 5f | 70 65 72 5f 69 6e 63 68 |(pixels_|per_inch|
|00004bd0| 2c 20 31 30 31 36 29 3b | 0a 20 20 6d 6f 64 65 5f |, 1016);|. mode_|
|00004be0| 70 61 72 61 6d 20 28 62 | 6c 61 63 6b 65 72 2c 20 |param (b|lacker, |
|00004bf0| 30 29 3b 0a 20 20 6d 6f | 64 65 5f 70 61 72 61 6d |0);. mo|de_param|
|00004c00| 20 28 66 69 6c 6c 69 6e | 2c 20 30 29 3b 0a 20 20 | (fillin|, 0);. |
|00004c10| 6d 6f 64 65 5f 70 61 72 | 61 6d 20 28 6f 5f 63 6f |mode_par|am (o_co|
|00004c20| 72 72 65 63 74 69 6f 6e | 2c 20 31 29 3b 0a 20 20 |rrection|, 1);. |
|00004c30| 6d 6f 64 65 5f 63 6f 6d | 6d 6f 6e 5f 73 65 74 75 |mode_com|mon_setu|
|00004c40| 70 5f 3b 0a 65 6e 64 64 | 65 66 3b 0a 25 20 46 72 |p_;.endd|ef;.% Fr|
|00004c50| 6f 6d 20 7b 5c 74 74 20 | 65 65 40 64 61 63 74 68 |om {\tt |ee@dacth|
|00004c60| 35 31 2e 62 69 74 6e 65 | 74 7d 2e 0a 6d 6f 64 65 |51.bitne|t}..mode|
|00004c70| 5f 64 65 66 20 61 74 61 | 72 69 65 7a 66 20 3d 20 |_def ata|riezf = |
|00004c80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004c90| 20 20 20 20 25 20 41 74 | 61 72 69 20 53 54 20 53 | % At|ari ST S|
|00004ca0| 4c 4d 20 38 30 34 20 70 | 72 69 6e 74 65 72 0a 20 |LM 804 p|rinter. |
|00004cb0| 20 6d 6f 64 65 5f 70 61 | 72 61 6d 20 28 70 69 78 | mode_pa|ram (pix|
|00004cc0| 65 6c 73 5f 70 65 72 5f | 69 6e 63 68 2c 20 33 30 |els_per_|inch, 30|
|00004cd0| 30 29 3b 0a 20 20 6d 6f | 64 65 5f 70 61 72 61 6d |0);. mo|de_param|
|00004ce0| 20 28 62 6c 61 63 6b 65 | 72 2c 20 2d 2e 32 35 29 | (blacke|r, -.25)|
|00004cf0| 3b 0a 20 20 6d 6f 64 65 | 5f 70 61 72 61 6d 20 28 |;. mode|_param (|
|00004d00| 66 69 6c 6c 69 6e 2c 20 | 2e 35 29 3b 0a 20 20 6d |fillin, |.5);. m|
|00004d10| 6f 64 65 5f 70 61 72 61 | 6d 20 28 6f 5f 63 6f 72 |ode_para|m (o_cor|
|00004d20| 72 65 63 74 69 6f 6e 2c | 20 30 29 3b 0a 20 20 6d |rection,| 0);. m|
|00004d30| 6f 64 65 5f 63 6f 6d 6d | 6f 6e 5f 73 65 74 75 70 |ode_comm|on_setup|
|00004d40| 5f 3b 0a 20 20 6d 6f 64 | 65 5f 77 72 69 74 65 5f |_;. mod|e_write_|
|00004d50| 77 68 69 74 65 5f 73 65 | 74 75 70 5f 3b 0a 65 6e |white_se|tup_;.en|
|00004d60| 64 64 65 66 3b 0a 41 74 | 61 72 69 53 4c 4d 45 69 |ddef;.At|ariSLMEi|
|00004d70| 67 68 74 5a 65 72 6f 46 | 6f 75 72 20 3a 3d 20 61 |ghtZeroF|our := a|
|00004d80| 74 61 72 69 65 7a 66 3b | 0a 25 20 46 72 6f 6d 20 |tariezf;|.% From |
|00004d90| 7b 5c 74 74 20 57 2e 53 | 70 69 74 40 66 79 73 2e |{\tt W.S|pit@fys.|
|00004da0| 72 75 75 2e 6e 6c 7d 2e | 20 20 7b 5c 74 74 20 4e |ruu.nl}.| {\tt N|
|00004db0| 2e 50 6f 70 70 65 6c 69 | 65 72 40 65 6c 73 65 76 |.Poppeli|er@elsev|
|00004dc0| 69 65 72 2e 6e 6c 7d 20 | 73 61 79 73 20 74 68 61 |ier.nl} |says tha|
|00004dd0| 74 0a 25 20 64 69 66 66 | 65 72 65 6e 74 20 70 72 |t.% diff|erent pr|
|00004de0| 65 76 69 65 77 65 72 73 | 20 75 73 65 20 64 69 66 |eviewers| use dif|
|00004df0| 66 65 72 65 6e 74 20 72 | 65 73 6f 6c 75 74 69 6f |ferent r|esolutio|
|00004e00| 6e 73 20 28 39 35 20 64 | 70 69 2c 20 39 36 20 64 |ns (95 d|pi, 96 d|
|00004e10| 70 69 2c 20 6f 72 20 31 | 30 31 0a 25 20 64 70 69 |pi, or 1|01.% dpi|
|00004e20| 29 2c 20 62 75 74 20 6e | 6f 20 6f 6e 65 20 73 65 |), but n|o one se|
|00004e30| 65 6d 73 20 74 6f 20 6b | 6e 6f 77 20 77 68 61 74 |ems to k|now what|
|00004e40| 20 74 68 65 20 72 65 61 | 6c 20 72 65 73 6f 6c 75 | the rea|l resolu|
|00004e50| 74 69 6f 6e 20 69 73 2e | 0a 6d 6f 64 65 5f 64 65 |tion is.|.mode_de|
|00004e60| 66 20 61 74 61 72 69 6e | 66 20 3d 20 20 20 20 20 |f atarin|f = |
|00004e70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004e80| 20 25 20 41 74 61 72 69 | 20 39 35 64 70 69 20 70 | % Atari| 95dpi p|
|00004e90| 72 65 76 69 65 77 65 72 | 0a 20 20 6d 6f 64 65 5f |reviewer|. mode_|
|00004ea0| 70 61 72 61 6d 20 28 70 | 69 78 65 6c 73 5f 70 65 |param (p|ixels_pe|
|00004eb0| 72 5f 69 6e 63 68 2c 20 | 39 35 29 3b 0a 20 20 6d |r_inch, |95);. m|
|00004ec0| 6f 64 65 5f 70 61 72 61 | 6d 20 28 62 6c 61 63 6b |ode_para|m (black|
|00004ed0| 65 72 2c 20 30 29 3b 0a | 20 20 6d 6f 64 65 5f 70 |er, 0);.| mode_p|
|00004ee0| 61 72 61 6d 20 28 66 69 | 6c 6c 69 6e 2c 20 30 29 |aram (fi|llin, 0)|
|00004ef0| 3b 0a 20 20 6d 6f 64 65 | 5f 70 61 72 61 6d 20 28 |;. mode|_param (|
|00004f00| 6f 5f 63 6f 72 72 65 63 | 74 69 6f 6e 2c 20 30 2e |o_correc|tion, 0.|
|00004f10| 31 29 3b 0a 20 20 6d 6f | 64 65 5f 63 6f 6d 6d 6f |1);. mo|de_commo|
|00004f20| 6e 5f 73 65 74 75 70 5f | 3b 0a 65 6e 64 64 65 66 |n_setup_|;.enddef|
|00004f30| 3b 0a 41 74 61 72 69 4e | 69 6e 65 46 69 76 65 20 |;.AtariN|ineFive |
|00004f40| 3a 3d 20 61 74 61 72 69 | 6e 66 3b 0a 6d 6f 64 65 |:= atari|nf;.mode|
|00004f50| 5f 64 65 66 20 61 74 61 | 72 69 6e 73 20 3d 20 20 |_def ata|rins = |
|00004f60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004f70| 20 20 20 20 25 20 41 74 | 61 72 69 20 39 36 78 39 | % At|ari 96x9|
|00004f80| 36 20 70 72 65 76 69 65 | 77 65 72 0a 20 20 6d 6f |6 previe|wer. mo|
|00004f90| 64 65 5f 70 61 72 61 6d | 20 28 70 69 78 65 6c 73 |de_param| (pixels|
|00004fa0| 5f 70 65 72 5f 69 6e 63 | 68 2c 20 39 36 29 3b 0a |_per_inc|h, 96);.|
|00004fb0| 20 20 6d 6f 64 65 5f 70 | 61 72 61 6d 20 28 62 6c | mode_p|aram (bl|
|00004fc0| 61 63 6b 65 72 2c 20 30 | 29 3b 0a 20 20 6d 6f 64 |acker, 0|);. mod|
|00004fd0| 65 5f 70 61 72 61 6d 20 | 28 66 69 6c 6c 69 6e 2c |e_param |(fillin,|
|00004fe0| 20 30 29 3b 0a 20 20 6d | 6f 64 65 5f 70 61 72 61 | 0);. m|ode_para|
|00004ff0| 6d 20 28 6f 5f 63 6f 72 | 72 65 63 74 69 6f 6e 2c |m (o_cor|rection,|
|00005000| 20 30 2e 31 29 3b 0a 20 | 20 6d 6f 64 65 5f 63 6f | 0.1);. | mode_co|
|00005010| 6d 6d 6f 6e 5f 73 65 74 | 75 70 5f 3b 0a 65 6e 64 |mmon_set|up_;.end|
|00005020| 64 65 66 3b 0a 41 74 61 | 72 69 4e 69 6e 65 53 69 |def;.Ata|riNineSi|
|00005030| 78 20 3a 3d 20 61 74 61 | 72 69 6e 73 3b 0a 25 20 |x := ata|rins;.% |
|00005040| 46 72 6f 6d 20 7b 5c 74 | 74 20 65 65 40 64 61 63 |From {\t|t ee@dac|
|00005050| 74 68 35 31 2e 62 69 74 | 6e 65 74 7d 2e 0a 6d 6f |th51.bit|net}..mo|
|00005060| 64 65 5f 64 65 66 20 61 | 74 61 72 69 6f 74 66 20 |de_def a|tariotf |
|00005070| 3d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |= | |
|00005080| 20 20 20 20 20 20 25 20 | 41 74 61 72 69 20 53 54 | % |Atari ST|
|00005090| 20 53 4d 20 31 32 34 20 | 73 63 72 65 65 6e 0a 20 | SM 124 |screen. |
|000050a0| 20 6d 6f 64 65 5f 70 61 | 72 61 6d 20 28 70 69 78 | mode_pa|ram (pix|
|000050b0| 65 6c 73 5f 70 65 72 5f | 69 6e 63 68 2c 20 31 30 |els_per_|inch, 10|
|000050c0| 31 29 3b 0a 20 20 6d 6f | 64 65 5f 70 61 72 61 6d |1);. mo|de_param|
|000050d0| 20 28 62 6c 61 63 6b 65 | 72 2c 20 30 29 3b 0a 20 | (blacke|r, 0);. |
|000050e0| 20 6d 6f 64 65 5f 70 61 | 72 61 6d 20 28 66 69 6c | mode_pa|ram (fil|
|000050f0| 6c 69 6e 2c 20 30 29 3b | 0a 20 20 6d 6f 64 65 5f |lin, 0);|. mode_|
|00005100| 70 61 72 61 6d 20 28 6f | 5f 63 6f 72 72 65 63 74 |param (o|_correct|
|00005110| 69 6f 6e 2c 20 2e 34 29 | 3b 0a 20 20 6d 6f 64 65 |ion, .4)|;. mode|
|00005120| 5f 63 6f 6d 6d 6f 6e 5f | 73 65 74 75 70 5f 3b 0a |_common_|setup_;.|
|00005130| 65 6e 64 64 65 66 3b 0a | 41 74 61 72 69 53 4d 4f |enddef;.|AtariSMO|
|00005140| 6e 65 54 77 6f 46 6f 75 | 72 20 3a 3d 20 61 74 61 |neTwoFou|r := ata|
|00005150| 72 69 6f 74 66 3b 0a 6d | 6f 64 65 5f 64 65 66 20 |riotf;.m|ode_def |
|00005160| 62 69 74 67 72 61 70 68 | 20 3d 20 20 20 20 20 20 |bitgraph| = |
|00005170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 25 | | %|
|00005180| 20 42 42 4e 20 42 69 74 | 67 72 61 70 68 20 61 74 | BBN Bit|graph at|
|00005190| 20 31 31 38 64 70 69 0a | 20 20 6d 6f 64 65 5f 70 | 118dpi.| mode_p|
|000051a0| 61 72 61 6d 20 28 70 69 | 78 65 6c 73 5f 70 65 72 |aram (pi|xels_per|
|000051b0| 5f 69 6e 63 68 2c 20 31 | 31 38 29 3b 0a 20 20 6d |_inch, 1|18);. m|
|000051c0| 6f 64 65 5f 70 61 72 61 | 6d 20 28 62 6c 61 63 6b |ode_para|m (black|
|000051d0| 65 72 2c 20 2e 35 35 29 | 3b 0a 20 20 6d 6f 64 65 |er, .55)|;. mode|
|000051e0| 5f 70 61 72 61 6d 20 28 | 66 69 6c 6c 69 6e 2c 20 |_param (|fillin, |
|000051f0| 2e 31 29 3b 0a 20 20 6d | 6f 64 65 5f 70 61 72 61 |.1);. m|ode_para|
|00005200| 6d 20 28 6f 5f 63 6f 72 | 72 65 63 74 69 6f 6e 2c |m (o_cor|rection,|
|00005210| 20 2e 33 29 3b 0a 20 20 | 6d 6f 64 65 5f 63 6f 6d | .3);. |mode_com|
|00005220| 6d 6f 6e 5f 73 65 74 75 | 70 5f 3b 0a 65 6e 64 64 |mon_setu|p_;.endd|
|00005230| 65 66 3b 0a 25 20 46 72 | 6f 6d 20 7b 5c 74 74 20 |ef;.% Fr|om {\tt |
|00005240| 73 6a 77 72 69 67 68 74 | 40 63 69 78 2e 63 6f 6d |sjwright|@cix.com|
|00005250| 70 75 6c 69 6e 6b 2e 63 | 6f 2e 75 6b 7d 2c 20 39 |pulink.c|o.uk}, 9|
|00005260| 20 46 65 62 72 75 61 72 | 79 20 31 39 39 34 2e 0a | Februar|y 1994..|
|00005270| 6d 6f 64 65 5f 64 65 66 | 20 62 6a 74 65 6e 65 78 |mode_def| bjtenex|
|00005280| 20 3d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | = | |
|00005290| 20 20 20 20 20 20 20 20 | 25 20 43 61 6e 6f 6e 20 | |% Canon |
|000052a0| 42 75 62 62 6c 65 4a 65 | 74 20 31 30 65 78 0a 20 |BubbleJe|t 10ex. |
|000052b0| 20 6d 6f 64 65 5f 70 61 | 72 61 6d 20 28 70 69 78 | mode_pa|ram (pix|
|000052c0| 65 6c 73 5f 70 65 72 5f | 69 6e 63 68 2c 20 33 36 |els_per_|inch, 36|
|000052d0| 30 29 3b 0a 20 20 6d 6f | 64 65 5f 70 61 72 61 6d |0);. mo|de_param|
|000052e0| 20 28 62 6c 61 63 6b 65 | 72 2c 20 2e 36 29 3b 0a | (blacke|r, .6);.|
|000052f0| 20 20 6d 6f 64 65 5f 70 | 61 72 61 6d 20 28 66 69 | mode_p|aram (fi|
|00005300| 6c 6c 69 6e 2c 20 30 29 | 3b 0a 20 20 6d 6f 64 65 |llin, 0)|;. mode|
|00005310| 5f 70 61 72 61 6d 20 28 | 6f 5f 63 6f 72 72 65 63 |_param (|o_correc|
|00005320| 74 69 6f 6e 2c 20 2e 36 | 29 3b 0a 20 20 6d 6f 64 |tion, .6|);. mod|
|00005330| 65 5f 63 6f 6d 6d 6f 6e | 5f 73 65 74 75 70 5f 3b |e_common|_setup_;|
|00005340| 0a 65 6e 64 64 65 66 3b | 0a 6d 6f 64 65 5f 64 65 |.enddef;|.mode_de|
|00005350| 66 20 62 6f 69 73 65 20 | 3d 20 20 20 20 20 20 20 |f boise |= |
|00005360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005370| 20 25 20 48 50 20 32 36 | 38 30 41 0a 20 20 6d 6f | % HP 26|80A. mo|
|00005380| 64 65 5f 70 61 72 61 6d | 20 28 70 69 78 65 6c 73 |de_param| (pixels|
|00005390| 5f 70 65 72 5f 69 6e 63 | 68 2c 20 31 38 30 29 3b |_per_inc|h, 180);|
|000053a0| 0a 20 20 6d 6f 64 65 5f | 70 61 72 61 6d 20 28 62 |. mode_|param (b|
|000053b0| 6c 61 63 6b 65 72 2c 20 | 2e 35 35 29 3b 0a 20 20 |lacker, |.55);. |
|000053c0| 6d 6f 64 65 5f 70 61 72 | 61 6d 20 28 66 69 6c 6c |mode_par|am (fill|
|000053d0| 69 6e 2c 20 2e 31 29 3b | 0a 20 20 6d 6f 64 65 5f |in, .1);|. mode_|
|000053e0| 70 61 72 61 6d 20 28 6f | 5f 63 6f 72 72 65 63 74 |param (o|_correct|
|000053f0| 69 6f 6e 2c 20 2e 33 29 | 3b 0a 20 20 6d 6f 64 65 |ion, .3)|;. mode|
|00005400| 5f 63 6f 6d 6d 6f 6e 5f | 73 65 74 75 70 5f 3b 0a |_common_|setup_;.|
|00005410| 65 6e 64 64 65 66 3b 0a | 25 20 46 72 6f 6d 20 7b |enddef;.|% From {|
|00005420| 5c 74 74 20 73 77 61 72 | 74 7a 40 63 73 2e 77 69 |\tt swar|tz@cs.wi|
|00005430| 73 63 2e 65 64 75 7d 2c | 20 38 20 41 70 72 69 6c |sc.edu},| 8 April|
|00005440| 20 31 39 39 33 2e 20 20 | 54 68 65 20 73 74 72 61 | 1993. |The stra|
|00005450| 69 67 68 74 66 6f 72 77 | 61 72 64 20 6d 6f 64 65 |ightforw|ard mode|
|00005460| 0a 25 20 77 69 74 68 20 | 7c 62 6c 61 63 6b 65 72 |.% with ||blacker|
|00005470| 3d 30 7c 2c 20 7c 66 69 | 6c 6c 69 6e 3d 30 7c 2c |=0|, |fi|llin=0|,|
|00005480| 20 7c 6f 5f 63 6f 72 72 | 65 63 74 69 6f 6e 3d 31 | |o_corr|ection=1|
|00005490| 7c 20 73 65 65 6d 73 20 | 74 6f 20 77 6f 72 6b 20 || seems |to work |
|000054a0| 66 69 6e 65 20 66 6f 72 | 0a 25 20 74 68 65 20 43 |fine for|.% the C|
|000054b0| 61 6e 6f 6e 20 45 58 20 | 65 6e 67 69 6e 65 20 69 |anon EX |engine i|
|000054c0| 6e 73 69 64 65 20 41 70 | 70 6c 65 27 73 20 4c 61 |nside Ap|ple's La|
|000054d0| 73 65 72 57 72 69 74 65 | 72 20 50 72 6f 20 36 33 |serWrite|r Pro 63|
|000054e0| 30 2e 20 20 49 74 20 70 | 72 6f 64 75 63 65 73 0a |0. It p|roduces.|
|000054f0| 25 20 6c 69 67 68 74 2c | 20 63 6c 65 61 72 20 6c |% light,| clear l|
|00005500| 69 6e 65 73 20 61 6e 64 | 20 74 79 70 65 2e 20 42 |ines and| type. B|
|00005510| 75 74 20 7b 5c 74 74 20 | 61 6a 63 61 72 72 40 63 |ut {\tt |ajcarr@c|
|00005520| 63 76 61 78 2e 75 63 64 | 2e 69 65 7d 20 73 65 6e |cvax.ucd|.ie} sen|
|00005530| 74 20 69 6e 20 74 68 65 | 0a 25 20 72 65 76 69 73 |t in the|.% revis|
|00005540| 65 64 20 76 61 6c 75 65 | 73 20 62 65 6c 6f 77 20 |ed value|s below |
|00005550| 6f 6e 20 31 32 20 44 65 | 63 65 6d 62 65 72 20 31 |on 12 De|cember 1|
|00005560| 39 39 33 2c 20 74 65 73 | 74 65 64 20 6f 6e 20 74 |993, tes|ted on t|
|00005570| 68 65 20 6d 61 6a 6f 72 | 20 43 4d 20 66 6f 6e 74 |he major| CM font|
|00005580| 73 0a 25 20 61 74 20 35 | 2c 20 37 2c 20 61 6e 64 |s.% at 5|, 7, and|
|00005590| 20 31 30 70 74 20 61 6e | 64 20 70 72 6f 64 75 63 | 10pt an|d produc|
|000055a0| 69 6e 67 20 73 6c 69 67 | 68 74 6c 79 20 62 65 74 |ing slig|htly bet|
|000055b0| 74 65 72 20 72 65 73 75 | 6c 74 73 2e 0a 6d 6f 64 |ter resu|lts..mod|
|000055c0| 65 5f 64 65 66 20 63 61 | 6e 6f 6e 65 78 20 3d 20 |e_def ca|nonex = |
|000055d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000055e0| 20 20 20 20 20 25 20 43 | 61 6e 6f 6e 45 58 20 69 | % C|anonEX i|
|000055f0| 6e 20 4c 61 73 65 72 57 | 72 69 74 65 72 20 50 72 |n LaserW|riter Pr|
|00005600| 6f 20 36 33 30 0a 20 20 | 6d 6f 64 65 5f 70 61 72 |o 630. |mode_par|
|00005610| 61 6d 20 28 70 69 78 65 | 6c 73 5f 70 65 72 5f 69 |am (pixe|ls_per_i|
|00005620| 6e 63 68 2c 20 36 30 30 | 29 3b 0a 20 20 6d 6f 64 |nch, 600|);. mod|
|00005630| 65 5f 70 61 72 61 6d 20 | 28 62 6c 61 63 6b 65 72 |e_param |(blacker|
|00005640| 2c 20 2e 32 29 3b 0a 20 | 20 6d 6f 64 65 5f 70 61 |, .2);. | mode_pa|
|00005650| 72 61 6d 20 28 66 69 6c | 6c 69 6e 2c 20 2e 31 29 |ram (fil|lin, .1)|
|00005660| 3b 0a 20 20 6d 6f 64 65 | 5f 70 61 72 61 6d 20 28 |;. mode|_param (|
|00005670| 6f 5f 63 6f 72 72 65 63 | 74 69 6f 6e 2c 20 2e 38 |o_correc|tion, .8|
|00005680| 35 29 3b 0a 20 20 6d 6f | 64 65 5f 63 6f 6d 6d 6f |5);. mo|de_commo|
|00005690| 6e 5f 73 65 74 75 70 5f | 3b 0a 65 6e 64 64 65 66 |n_setup_|;.enddef|
|000056a0| 3b 0a 43 61 6e 6f 6e 45 | 58 20 3a 3d 20 63 61 6e |;.CanonE|X := can|
|000056b0| 6f 6e 65 78 3b 0a 6d 6f | 64 65 5f 64 65 66 20 63 |onex;.mo|de_def c|
|000056c0| 61 6e 6f 6e 6c 62 70 20 | 3d 20 20 20 20 20 20 20 |anonlbp |= |
|000056d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 25 20 | | % |
|000056e0| 65 2e 67 2e 2c 20 53 79 | 6d 62 6f 6c 69 63 73 20 |e.g., Sy|mbolics |
|000056f0| 4c 47 50 2d 31 30 0a 20 | 20 6d 6f 64 65 5f 70 61 |LGP-10. | mode_pa|
|00005700| 72 61 6d 20 28 70 69 78 | 65 6c 73 5f 70 65 72 5f |ram (pix|els_per_|
|00005710| 69 6e 63 68 2c 20 32 34 | 30 29 3b 0a 20 20 6d 6f |inch, 24|0);. mo|
|00005720| 64 65 5f 70 61 72 61 6d | 20 28 62 6c 61 63 6b 65 |de_param| (blacke|
|00005730| 72 2c 20 2e 32 29 3b 0a | 20 20 6d 6f 64 65 5f 70 |r, .2);.| mode_p|
|00005740| 61 72 61 6d 20 28 66 69 | 6c 6c 69 6e 2c 20 2e 32 |aram (fi|llin, .2|
|00005750| 29 3b 0a 20 20 6d 6f 64 | 65 5f 70 61 72 61 6d 20 |);. mod|e_param |
|00005760| 28 6f 5f 63 6f 72 72 65 | 63 74 69 6f 6e 2c 20 2e |(o_corre|ction, .|
|00005770| 34 29 3b 0a 20 20 6d 6f | 64 65 5f 63 6f 6d 6d 6f |4);. mo|de_commo|
|00005780| 6e 5f 73 65 74 75 70 5f | 3b 0a 65 6e 64 64 65 66 |n_setup_|;.enddef|
|00005790| 3b 0a 43 61 6e 6f 6e 4c | 42 50 54 65 6e 20 3a 3d |;.CanonL|BPTen :=|
|000057a0| 20 63 61 6e 6f 6e 6c 62 | 70 3b 0a 6d 6f 64 65 5f | canonlb|p;.mode_|
|000057b0| 64 65 66 20 63 67 20 3d | 20 20 20 20 20 20 20 20 |def cg =| |
|000057c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000057d0| 20 20 20 25 20 43 6f 6d | 70 75 67 72 61 70 68 69 | % Com|pugraphi|
|000057e0| 63 20 38 36 30 30 0a 20 | 20 6d 6f 64 65 5f 70 61 |c 8600. | mode_pa|
|000057f0| 72 61 6d 20 28 70 69 78 | 65 6c 73 5f 70 65 72 5f |ram (pix|els_per_|
|00005800| 69 6e 63 68 2c 20 31 33 | 30 31 2e 35 29 3b 0a 20 |inch, 13|01.5);. |
|00005810| 20 6d 6f 64 65 5f 70 61 | 72 61 6d 20 28 61 73 70 | mode_pa|ram (asp|
|00005820| 65 63 74 5f 72 61 74 69 | 6f 2c 20 31 35 36 39 20 |ect_rati|o, 1569 |
|00005830| 2f 20 70 69 78 65 6c 73 | 5f 70 65 72 5f 69 6e 63 |/ pixels|_per_inc|
|00005840| 68 29 3b 0a 20 20 6d 6f | 64 65 5f 70 61 72 61 6d |h);. mo|de_param|
|00005850| 20 28 62 6c 61 63 6b 65 | 72 2c 20 2e 32 29 3b 0a | (blacke|r, .2);.|
|00005860| 20 20 6d 6f 64 65 5f 70 | 61 72 61 6d 20 28 66 69 | mode_p|aram (fi|
|00005870| 6c 6c 69 6e 2c 20 2e 32 | 29 3b 0a 20 20 6d 6f 64 |llin, .2|);. mod|
|00005880| 65 5f 70 61 72 61 6d 20 | 28 6f 5f 63 6f 72 72 65 |e_param |(o_corre|
|00005890| 63 74 69 6f 6e 2c 20 31 | 29 3b 0a 20 20 6d 6f 64 |ction, 1|);. mod|
|000058a0| 65 5f 63 6f 6d 6d 6f 6e | 5f 73 65 74 75 70 5f 3b |e_common|_setup_;|
|000058b0| 0a 65 6e 64 64 65 66 3b | 0a 43 6f 6d 70 75 67 72 |.enddef;|.Compugr|
|000058c0| 61 70 68 69 63 45 69 67 | 68 74 53 69 78 5a 65 72 |aphicEig|htSixZer|
|000058d0| 6f 5a 65 72 6f 20 3a 3d | 20 63 67 3b 0a 25 20 54 |oZero :=| cg;.% T|
|000058e0| 68 65 73 65 20 76 61 6c | 75 65 73 20 66 72 6f 6d |hese val|ues from|
|000058f0| 20 4c 69 6e 6f 74 79 70 | 65 20 4c 69 6e 6f 74 72 | Linotyp|e Linotr|
|00005900| 6f 6e 69 63 20 5b 31 33 | 5d 30 30 20 6d 6f 64 69 |onic [13|]00 modi|
|00005910| 66 69 65 64 20 74 6f 20 | 31 32 30 30 64 70 69 2e |fied to |1200dpi.|
|00005920| 0a 25 20 46 72 6f 6d 20 | 7b 5c 74 74 20 77 61 67 |.% From |{\tt wag|
|00005930| 6d 61 6e 5c 25 6d 75 73 | 65 2e 68 65 70 6e 65 74 |man\%mus|e.hepnet|
|00005940| 40 43 73 61 32 2e 4c 42 | 4c 2e 47 6f 76 7d 2e 0a |@Csa2.LB|L.Gov}..|
|00005950| 6d 6f 64 65 5f 64 65 66 | 20 63 67 6e 73 7a 7a 20 |mode_def| cgnszz |
|00005960| 3d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |= | |
|00005970| 20 20 20 20 20 20 20 20 | 25 20 43 6f 6d 70 75 67 | |% Compug|
|00005980| 72 61 70 68 69 63 20 39 | 36 30 30 0a 20 20 6d 6f |raphic 9|600. mo|
|00005990| 64 65 5f 70 61 72 61 6d | 20 28 70 69 78 65 6c 73 |de_param| (pixels|
|000059a0| 5f 70 65 72 5f 69 6e 63 | 68 2c 20 31 32 30 30 29 |_per_inc|h, 1200)|
|000059b0| 3b 0a 20 20 6d 6f 64 65 | 5f 70 61 72 61 6d 20 28 |;. mode|_param (|
|000059c0| 62 6c 61 63 6b 65 72 2c | 20 2e 36 35 29 3b 0a 20 |blacker,| .65);. |
|000059d0| 20 6d 6f 64 65 5f 70 61 | 72 61 6d 20 28 66 69 6c | mode_pa|ram (fil|
|000059e0| 6c 69 6e 2c 20 2d 2e 31 | 29 3b 0a 20 20 6d 6f 64 |lin, -.1|);. mod|
|000059f0| 65 5f 70 61 72 61 6d 20 | 28 6f 5f 63 6f 72 72 65 |e_param |(o_corre|
|00005a00| 63 74 69 6f 6e 2c 20 2e | 35 29 3b 0a 20 20 6d 6f |ction, .|5);. mo|
|00005a10| 64 65 5f 63 6f 6d 6d 6f | 6e 5f 73 65 74 75 70 5f |de_commo|n_setup_|
|00005a20| 3b 0a 65 6e 64 64 65 66 | 3b 0a 43 6f 6d 70 75 67 |;.enddef|;.Compug|
|00005a30| 72 61 70 68 69 63 4e 69 | 6e 65 53 69 78 5a 65 72 |raphicNi|neSixZer|
|00005a40| 6f 5a 65 72 6f 20 3a 3d | 20 63 67 6e 73 7a 7a 3b |oZero :=| cgnszz;|
|00005a50| 0a 25 20 46 72 6f 6d 20 | 7b 5c 74 74 20 6c 6f 63 |.% From |{\tt loc|
|00005a60| 61 6c 2e 6d 66 7d 20 76 | 69 61 20 7b 5c 74 74 20 |al.mf} v|ia {\tt |
|00005a70| 63 75 64 61 74 40 63 75 | 2e 77 61 72 77 69 63 6b |cudat@cu|.warwick|
|00005a80| 2e 61 63 2e 75 6b 7d 2e | 0a 6d 6f 64 65 5f 64 65 |.ac.uk}.|.mode_de|
|00005a90| 66 20 69 74 6f 68 20 3d | 20 20 20 20 20 20 20 20 |f itoh =| |
|00005aa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005ab0| 20 25 20 43 49 74 6f 68 | 20 38 35 31 30 41 0a 20 | % CItoh| 8510A. |
|00005ac0| 20 6d 6f 64 65 5f 70 61 | 72 61 6d 20 28 70 69 78 | mode_pa|ram (pix|
|00005ad0| 65 6c 73 5f 70 65 72 5f | 69 6e 63 68 2c 20 31 36 |els_per_|inch, 16|
|00005ae0| 30 29 3b 0a 20 20 6d 6f | 64 65 5f 70 61 72 61 6d |0);. mo|de_param|
|00005af0| 20 28 61 73 70 65 63 74 | 5f 72 61 74 69 6f 2c 20 | (aspect|_ratio, |
|00005b00| 31 34 34 20 2f 20 70 69 | 78 65 6c 73 5f 70 65 72 |144 / pi|xels_per|
|00005b10| 5f 69 6e 63 68 29 3b 0a | 20 20 6d 6f 64 65 5f 70 |_inch);.| mode_p|
|00005b20| 61 72 61 6d 20 28 62 6c | 61 63 6b 65 72 2c 20 30 |aram (bl|acker, 0|
|00005b30| 29 3b 0a 20 20 6d 6f 64 | 65 5f 70 61 72 61 6d 20 |);. mod|e_param |
|00005b40| 28 66 69 6c 6c 69 6e 2c | 20 30 29 3b 0a 20 20 6d |(fillin,| 0);. m|
|00005b50| 6f 64 65 5f 70 61 72 61 | 6d 20 28 6f 5f 63 6f 72 |ode_para|m (o_cor|
|00005b60| 72 65 63 74 69 6f 6e 2c | 20 2e 31 29 3b 0a 20 20 |rection,| .1);. |
|00005b70| 6d 6f 64 65 5f 63 6f 6d | 6d 6f 6e 5f 73 65 74 75 |mode_com|mon_setu|
|00005b80| 70 5f 3b 0a 65 6e 64 64 | 65 66 3b 0a 43 49 74 6f |p_;.endd|ef;.CIto|
|00005b90| 68 45 69 67 68 74 46 69 | 76 65 4f 6e 65 5a 65 72 |hEightFi|veOneZer|
|00005ba0| 6f 20 3a 3d 20 69 74 6f | 68 3b 0a 25 20 46 72 6f |o := ito|h;.% Fro|
|00005bb0| 6d 20 7b 5c 74 74 20 72 | 6f 6b 69 63 6b 69 40 63 |m {\tt r|okicki@c|
|00005bc0| 73 2e 75 6d 62 2e 65 64 | 75 7d 2e 0a 6d 6f 64 65 |s.umb.ed|u}..mode|
|00005bd0| 5f 64 65 66 20 63 69 74 | 6f 68 74 6f 7a 20 3d 20 |_def cit|ohtoz = |
|00005be0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005bf0| 20 20 20 20 25 20 43 49 | 74 6f 68 20 33 31 30 0a | % CI|toh 310.|
|00005c00| 20 20 6d 6f 64 65 5f 70 | 61 72 61 6d 20 28 70 69 | mode_p|aram (pi|
|00005c10| 78 65 6c 73 5f 70 65 72 | 5f 69 6e 63 68 2c 20 32 |xels_per|_inch, 2|
|00005c20| 34 30 29 3b 0a 20 20 6d | 6f 64 65 5f 70 61 72 61 |40);. m|ode_para|
|00005c30| 6d 20 28 61 73 70 65 63 | 74 5f 72 61 74 69 6f 2c |m (aspec|t_ratio,|
|00005c40| 20 31 34 34 20 2f 20 70 | 69 78 65 6c 73 5f 70 65 | 144 / p|ixels_pe|
|00005c50| 72 5f 69 6e 63 68 29 3b | 0a 20 20 6d 6f 64 65 5f |r_inch);|. mode_|
|00005c60| 70 61 72 61 6d 20 28 62 | 6c 61 63 6b 65 72 2c 20 |param (b|lacker, |
|00005c70| 30 29 3b 0a 20 20 6d 6f | 64 65 5f 70 61 72 61 6d |0);. mo|de_param|
|00005c80| 20 28 66 69 6c 6c 69 6e | 2c 20 30 29 3b 0a 20 20 | (fillin|, 0);. |
|00005c90| 6d 6f 64 65 5f 70 61 72 | 61 6d 20 28 6f 5f 63 6f |mode_par|am (o_co|
|00005ca0| 72 72 65 63 74 69 6f 6e | 2c 20 2e 32 29 3b 0a 20 |rrection|, .2);. |
|00005cb0| 20 6d 6f 64 65 5f 63 6f | 6d 6d 6f 6e 5f 73 65 74 | mode_co|mmon_set|
|00005cc0| 75 70 5f 3b 0a 65 6e 64 | 64 65 66 3b 0a 43 49 74 |up_;.end|def;.CIt|
|00005cd0| 6f 68 54 68 72 65 65 4f | 6e 65 5a 65 72 6f 20 3a |ohThreeO|neZero :|
|00005ce0| 3d 20 63 69 74 6f 68 74 | 6f 7a 3b 0a 63 74 68 72 |= citoht|oz;.cthr|
|00005cf0| 65 65 74 65 6e 20 3a 3d | 20 43 49 74 6f 68 54 68 |eeten :=| CItohTh|
|00005d00| 72 65 65 4f 6e 65 5a 65 | 72 6f 3b 0a 25 20 54 68 |reeOneZe|ro;.% Th|
|00005d10| 69 73 20 68 61 73 20 61 | 20 72 65 73 6f 6c 75 74 |is has a| resolut|
|00005d20| 69 6f 6e 20 6f 66 20 7c | 35 33 33 33 20 2b 20 31 |ion of ||5333 + 1|
|00005d30| 2f 33 7c 20 70 69 78 65 | 6c 73 20 70 65 72 20 69 |/3| pixe|ls per i|
|00005d40| 6e 63 68 2e 0a 6d 6f 64 | 65 5f 64 65 66 20 63 72 |nch..mod|e_def cr|
|00005d50| 73 20 3d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |s = | |
|00005d60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 25 20 41 | | % A|
|00005d70| 6c 70 68 61 74 79 70 65 | 20 43 52 53 0a 20 20 6d |lphatype| CRS. m|
|00005d80| 6f 64 65 5f 70 61 72 61 | 6d 20 28 70 69 78 65 6c |ode_para|m (pixel|
|00005d90| 73 5f 70 65 72 5f 69 6e | 63 68 2c 20 34 30 30 30 |s_per_in|ch, 4000|
|00005da0| 20 2b 20 34 30 30 30 2f | 33 29 3b 0a 20 20 6d 6f | + 4000/|3);. mo|
|00005db0| 64 65 5f 70 61 72 61 6d | 20 28 62 6c 61 63 6b 65 |de_param| (blacke|
|00005dc0| 72 2c 20 34 29 3b 0a 20 | 20 6d 6f 64 65 5f 70 61 |r, 4);. | mode_pa|
|00005dd0| 72 61 6d 20 28 66 69 6c | 6c 69 6e 2c 20 30 29 3b |ram (fil|lin, 0);|
|00005de0| 0a 20 20 6d 6f 64 65 5f | 70 61 72 61 6d 20 28 6f |. mode_|param (o|
|00005df0| 5f 63 6f 72 72 65 63 74 | 69 6f 6e 2c 20 31 29 3b |_correct|ion, 1);|
|00005e00| 0a 20 20 6d 6f 64 65 5f | 63 6f 6d 6d 6f 6e 5f 73 |. mode_|common_s|
|00005e10| 65 74 75 70 5f 3b 0a 65 | 6e 64 64 65 66 3b 0a 25 |etup_;.e|nddef;.%|
|00005e20| 20 54 68 69 73 20 61 70 | 70 6c 69 65 73 20 74 6f | This ap|plies to|
|00005e30| 20 74 68 65 20 4c 61 73 | 65 72 57 72 69 74 65 72 | the Las|erWriter|
|00005e40| 20 50 6c 75 73 2c 20 48 | 50 20 4c 61 73 65 72 6a | Plus, H|P Laserj|
|00005e50| 65 74 2c 20 48 50 20 4c | 61 73 65 72 6a 65 74 20 |et, HP L|aserjet |
|00005e60| 50 6c 75 73 2c 0a 25 20 | 61 6e 64 20 61 6c 73 6f |Plus,.% |and also|
|00005e70| 20 74 68 65 20 43 61 6e | 6f 6e 20 4c 42 50 2d 4c | the Can|on LBP-L|
|00005e80| 58 20 65 6e 67 69 6e 65 | 2c 20 69 6e 20 74 68 65 |X engine|, in the|
|00005e90| 20 4c 61 73 65 72 6a 65 | 74 20 49 49 50 2c 20 51 | Laserje|t IIP, Q|
|00005ea0| 4d 53 20 34 31 30 2c 20 | 61 6e 64 0a 25 20 41 70 |MS 410, |and.% Ap|
|00005eb0| 70 6c 65 20 50 65 72 73 | 6f 6e 61 6c 20 4c 61 73 |ple Pers|onal Las|
|00005ec0| 65 72 57 72 69 74 65 72 | 2c 20 61 6e 64 20 61 6c |erWriter|, and al|
|00005ed0| 73 6f 20 74 6f 20 74 68 | 65 20 43 61 6e 6f 6e 53 |so to th|e CanonS|
|00005ee0| 58 20 65 6e 67 69 6e 65 | 2c 20 69 6e 20 74 68 65 |X engine|, in the|
|00005ef0| 0a 25 20 4c 61 73 65 72 | 57 72 69 74 65 72 20 49 |.% Laser|Writer I|
|00005f00| 49 20 66 61 6d 69 6c 79 | 2e 20 20 41 6e 64 20 7b |I family|. And {|
|00005f10| 5c 74 74 20 68 61 6d 6d | 6f 6e 64 40 6a 69 6c 61 |\tt hamm|ond@jila|
|00005f20| 30 32 2e 43 6f 6c 6f 72 | 61 64 6f 2e 45 44 55 7d |02.Color|ado.EDU}|
|00005f30| 20 73 61 79 73 20 69 74 | 0a 25 20 77 6f 72 6b 73 | says it|.% works|
|00005f40| 20 77 65 6c 6c 20 66 6f | 72 20 74 68 65 20 60 60 | well fo|r the ``|
|00005f50| 65 6e 68 61 6e 63 65 64 | 2d 72 65 73 6f 6c 75 74 |enhanced|-resolut|
|00005f60| 69 6f 6e 27 27 20 4c 61 | 73 65 72 4a 65 74 20 49 |ion'' La|serJet I|
|00005f70| 49 49 2e 0a 25 20 7b 5c | 74 74 20 73 77 61 72 74 |II..% {\|tt swart|
|00005f80| 7a 40 63 73 2e 77 69 73 | 63 2e 65 64 75 7d 20 69 |z@cs.wis|c.edu} i|
|00005f90| 73 20 64 65 76 65 6c 6f | 70 69 6e 67 20 61 20 6d |s develo|ping a m|
|00005fa0| 6f 64 65 20 66 6f 72 20 | 74 68 65 20 43 61 6e 6f |ode for |the Cano|
|00005fb0| 6e 20 45 58 20 65 6e 67 | 69 6e 65 0a 25 20 69 6e |n EX eng|ine.% in|
|00005fc0| 73 69 64 65 20 61 6e 20 | 41 70 70 6c 65 20 50 72 |side an |Apple Pr|
|00005fd0| 6f 20 36 33 30 20 70 72 | 69 6e 74 65 72 2e 0a 6d |o 630 pr|inter..m|
|00005fe0| 6f 64 65 5f 64 65 66 20 | 63 78 20 3d 20 20 20 20 |ode_def |cx = |
|00005ff0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006000| 20 20 20 20 20 20 20 25 | 20 43 61 6e 6f 6e 20 43 | %| Canon C|
|00006010| 58 2c 20 53 58 2c 20 4c | 42 50 2d 4c 58 0a 20 20 |X, SX, L|BP-LX. |
|00006020| 6d 6f 64 65 5f 70 61 72 | 61 6d 20 28 70 69 78 65 |mode_par|am (pixe|
|00006030| 6c 73 5f 70 65 72 5f 69 | 6e 63 68 2c 20 33 30 30 |ls_per_i|nch, 300|
|00006040| 29 3b 0a 20 20 6d 6f 64 | 65 5f 70 61 72 61 6d 20 |);. mod|e_param |
|00006050| 28 62 6c 61 63 6b 65 72 | 2c 20 30 29 3b 0a 20 20 |(blacker|, 0);. |
|00006060| 6d 6f 64 65 5f 70 61 72 | 61 6d 20 28 66 69 6c 6c |mode_par|am (fill|
|00006070| 69 6e 2c 20 2e 32 29 3b | 0a 20 20 6d 6f 64 65 5f |in, .2);|. mode_|
|00006080| 70 61 72 61 6d 20 28 6f | 5f 63 6f 72 72 65 63 74 |param (o|_correct|
|00006090| 69 6f 6e 2c 20 2e 36 29 | 3b 0a 20 20 6d 6f 64 65 |ion, .6)|;. mode|
|000060a0| 5f 63 6f 6d 6d 6f 6e 5f | 73 65 74 75 70 5f 3b 0a |_common_|setup_;.|
|000060b0| 65 6e 64 64 65 66 3b 0a | 43 61 6e 6f 6e 43 58 20 |enddef;.|CanonCX |
|000060c0| 3a 3d 20 63 78 3b 0a 63 | 6f 72 6f 6e 61 20 3a 3d |:= cx;.c|orona :=|
|000060d0| 20 63 78 3b 0a 64 70 20 | 3a 3d 20 63 78 3b 20 25 | cx;.dp |:= cx; %|
|000060e0| 20 73 6f 6d 65 20 6b 69 | 6e 64 20 6f 66 20 44 61 | some ki|nd of Da|
|000060f0| 74 61 50 72 6f 64 75 63 | 74 73 0a 68 70 6c 61 73 |taProduc|ts.hplas|
|00006100| 65 72 20 3a 3d 20 63 78 | 3b 0a 69 6d 61 67 65 6e |er := cx|;.imagen|
|00006110| 20 3a 3d 20 63 78 3b 0a | 6b 79 6f 63 65 72 61 20 | := cx;.|kyocera |
|00006120| 3a 3d 20 63 78 3b 0a 6c | 61 73 65 72 77 72 69 74 |:= cx;.l|aserwrit|
|00006130| 65 72 20 3a 3d 20 63 78 | 3b 0a 25 20 49 20 68 61 |er := cx|;.% I ha|
|00006140| 76 65 20 73 65 65 6e 20 | 61 20 63 6c 61 69 6d 20 |ve seen |a claim |
|00006150| 74 68 65 20 4c 61 73 65 | 72 4a 65 74 20 49 49 20 |the Lase|rJet II |
|00006160| 77 61 73 20 74 68 65 20 | 43 61 6e 6f 6e 20 53 58 |was the |Canon SX|
|00006170| 0a 25 20 77 72 69 74 65 | 2d 77 68 69 74 65 20 65 |.% write|-white e|
|00006180| 6e 67 69 6e 65 2c 20 62 | 75 74 20 49 20 64 6f 6e |ngine, b|ut I don|
|00006190| 27 74 20 74 68 69 6e 6b | 20 74 68 61 74 27 73 20 |'t think| that's |
|000061a0| 72 69 67 68 74 2e 0a 6c | 61 73 65 72 6a 65 74 68 |right..l|aserjeth|
|000061b0| 69 20 3a 3d 20 63 78 3b | 0a 6c 61 73 65 72 6a 65 |i := cx;|.laserje|
|000061c0| 74 20 3a 3d 20 63 78 3b | 0a 25 20 7b 5c 74 74 20 |t := cx;|.% {\tt |
|000061d0| 6f 67 61 77 61 40 6f 72 | 69 6f 6e 2e 61 72 63 2e |ogawa@or|ion.arc.|
|000061e0| 6e 61 73 61 2e 67 6f 76 | 7d 20 73 61 79 73 20 74 |nasa.gov|} says t|
|000061f0| 68 61 74 20 74 68 69 73 | 20 69 73 20 64 65 66 69 |hat this| is defi|
|00006200| 6e 69 74 65 6c 79 20 6e | 6f 74 20 61 0a 25 20 77 |nitely n|ot a.% w|
|00006210| 72 69 74 65 2d 77 68 69 | 74 65 20 65 6e 67 69 6e |rite-whi|te engin|
|00006220| 65 2c 20 64 65 73 70 69 | 74 65 20 65 61 72 6c 69 |e, despi|te earli|
|00006230| 65 72 20 76 65 72 73 69 | 6f 6e 73 20 6f 66 20 74 |er versi|ons of t|
|00006240| 68 69 73 20 66 69 6c 65 | 20 63 6c 61 69 6d 69 6e |his file| claimin|
|00006250| 67 20 74 68 65 0a 25 20 | 63 6f 6e 74 72 61 72 79 |g the.% |contrary|
|00006260| 2e 20 20 54 68 75 73 2c | 20 70 72 6f 62 61 62 6c |. Thus,| probabl|
|00006270| 79 20 74 68 65 20 73 61 | 6d 65 20 70 61 72 61 6d |y the sa|me param|
|00006280| 65 74 65 72 73 20 61 73 | 20 7c 63 78 7c 20 77 69 |eters as| |cx| wi|
|00006290| 6c 6c 20 64 6f 2e 0a 43 | 61 6e 6f 6e 53 58 20 3a |ll do..C|anonSX :|
|000062a0| 3d 20 63 78 3b 0a 43 61 | 6e 6f 6e 4c 42 50 4c 58 |= cx;.Ca|nonLBPLX|
|000062b0| 20 3a 3d 20 63 78 3b 0a | 25 20 41 74 20 6c 65 61 | := cx;.|% At lea|
|000062c0| 73 74 20 6d 61 67 73 74 | 65 70 20 32 20 69 73 20 |st magst|ep 2 is |
|000062d0| 72 65 63 6f 6d 6d 65 6e | 64 65 64 20 61 74 20 74 |recommen|ded at t|
|000062e0| 68 69 73 20 6c 6f 77 20 | 72 65 73 6f 6c 75 74 69 |his low |resoluti|
|000062f0| 6f 6e 2e 0a 6d 6f 64 65 | 5f 64 65 66 20 64 61 74 |on..mode|_def dat|
|00006300| 61 64 69 73 63 20 3d 20 | 20 20 20 20 20 20 20 20 |adisc = | |
|00006310| 20 20 20 20 20 20 20 20 | 20 20 20 20 25 20 44 61 | | % Da|
|00006320| 74 61 44 69 73 63 0a 20 | 20 6d 6f 64 65 5f 70 61 |taDisc. | mode_pa|
|00006330| 72 61 6d 20 28 70 69 78 | 65 6c 73 5f 70 65 72 5f |ram (pix|els_per_|
|00006340| 69 6e 63 68 2c 20 37 30 | 29 3b 0a 20 20 6d 6f 64 |inch, 70|);. mod|
|00006350| 65 5f 70 61 72 61 6d 20 | 28 62 6c 61 63 6b 65 72 |e_param |(blacker|
|00006360| 2c 20 30 29 3b 0a 20 20 | 6d 6f 64 65 5f 70 61 72 |, 0);. |mode_par|
|00006370| 61 6d 20 28 66 69 6c 6c | 69 6e 2c 20 30 29 3b 0a |am (fill|in, 0);.|
|00006380| 20 20 6d 6f 64 65 5f 70 | 61 72 61 6d 20 28 6f 5f | mode_p|aram (o_|
|00006390| 63 6f 72 72 65 63 74 69 | 6f 6e 2c 20 2e 32 29 3b |correcti|on, .2);|
|000063a0| 0a 20 20 6d 6f 64 65 5f | 63 6f 6d 6d 6f 6e 5f 73 |. mode_|common_s|
|000063b0| 65 74 75 70 5f 3b 0a 65 | 6e 64 64 65 66 3b 0a 44 |etup_;.e|nddef;.D|
|000063c0| 44 20 3a 3d 20 64 61 74 | 61 64 69 73 63 3b 0a 6d |D := dat|adisc;.m|
|000063d0| 6f 64 65 5f 64 65 66 20 | 6e 65 77 64 64 20 3d 20 |ode_def |newdd = |
|000063e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000063f0| 20 20 20 20 20 20 20 25 | 20 44 61 74 61 44 69 73 | %| DataDis|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.